# Is it possible currently to treat a php file (uploaded to assets) like a actual php webpage?

**URL:** https://community.thunkable.com/t/is-it-possible-currently-to-treat-a-php-file-uploaded-to-assets-like-a-actual-php-webpage/590514
**Category:** Questions about Thunkable X
**Created:** [May 26, 2020, 2:39pm UTC](https://community.thunkable.com/t/is-it-possible-currently-to-treat-a-php-file-uploaded-to-assets-like-a-actual-php-webpage/590514 "2020-05-26T14:39:49Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![kartik14](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik14/32/44782_2.png) [@kartik14](https://community.thunkable.com/u/kartik14)
#### Post date: [May 26, 2020, 2:39pm UTC](https://community.thunkable.com/t/is-it-possible-currently-to-treat-a-php-file-uploaded-to-assets-like-a-actual-php-webpage/590514/1 "2020-05-26T14:39:49Z")

</div>

Hi Everyone!

I want to implement Encryption & Decryption in Thunkable X, with some powerful methods like AES256. It’s currently only possible that I do it with hosting my php webpage, and calling it like `xxxx.com/test.php?text=abcd` & it would return the encrypted value.  
Now, this method brings along the fear of hackers intercepting incoming data on my webpage, and re-directing it to theirs.

So, is their any way that I would upload the .php file in my app’s assets, and set Web API’s url to it? So the URL would be like `file:///path/to/the/file?text=abcd`

Thanks!

---

<div class="post-metadata">

### Author: ![kartik14](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik14/32/44782_2.png) [@kartik14](https://community.thunkable.com/u/kartik14)
#### Post date: [May 26, 2020, 2:55pm UTC](https://community.thunkable.com/t/is-it-possible-currently-to-treat-a-php-file-uploaded-to-assets-like-a-actual-php-webpage/590514/2 "2020-05-26T14:55:13Z")

</div>

If it’s possible to do this, it would be possible to do ANY kind of encryption and decryption in Thunkable X 🙃

---

<div class="post-metadata">

### Author: ![kartik14](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik14/32/44782_2.png) [@kartik14](https://community.thunkable.com/u/kartik14)
#### Post date: [May 27, 2020, 2:53am UTC](https://community.thunkable.com/t/is-it-possible-currently-to-treat-a-php-file-uploaded-to-assets-like-a-actual-php-webpage/590514/3 "2020-05-27T02:53:52Z")

</div>

Anyone there?

@actech @jared @domhnallohanlon

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [May 27, 2020, 12:29pm UTC](https://community.thunkable.com/t/is-it-possible-currently-to-treat-a-php-file-uploaded-to-assets-like-a-actual-php-webpage/590514/4 "2020-05-27T12:29:29Z")

</div>

Hi, try use JavaScript

> **[Шифрование на JavaScript с использованием библиотеки pidCrypt](https://habr.com/ru/company/comet-server/blog/272507/)**
>
> pidCrypt это open source библиотека криптографических алгоритмов. Поддерживает RSA и AES шифрование/дешифрование, и расчёт MD5 и SHA хэшей. Base64 Base64Кодиро...

---

<div class="post-metadata">

### Author: ![kartik14](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik14/32/44782_2.png) [@kartik14](https://community.thunkable.com/u/kartik14)
#### Post date: [May 27, 2020, 5:01pm UTC](https://community.thunkable.com/t/is-it-possible-currently-to-treat-a-php-file-uploaded-to-assets-like-a-actual-php-webpage/590514/5 "2020-05-27T17:01:51Z")

</div>

Thanks for your reply @actech!

So, even after I successfully build a .js page for encryption/decryption, how would I integrate it with Thunkable X?

Thanks! 😺

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [May 28, 2020, 6:05am UTC](https://community.thunkable.com/t/is-it-possible-currently-to-treat-a-php-file-uploaded-to-assets-like-a-actual-php-webpage/590514/6 "2020-05-28T06:05:21Z")

</div>

Check scrExchange or scrFramework7 in my demo.

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 11:28am UTC](https://community.thunkable.com/t/is-it-possible-currently-to-treat-a-php-file-uploaded-to-assets-like-a-actual-php-webpage/590514/7 "2024-11-08T11:28:57Z")

</div>


