# Encrypted image for specific board

**URL:** <https://discuss.pynq.io/t/encrypted-image-for-specific-board/3908>\
**Category:** Support\
**Created:** [March 25, 2022, 6:40am UTC](https://discuss.pynq.io/t/encrypted-image-for-specific-board/3908 "2022-03-25T06:40:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mizan](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/mizan/32/2119_2.png) [@mizan](https://discuss.pynq.io/u/mizan)\
**Post date:** [March 25, 2022, 6:40am UTC](https://discuss.pynq.io/t/encrypted-image-for-specific-board/3908/1 "2022-03-25T06:40:51Z")

</div>

First of all, my apologies if the question is irrelevant to pynq or immature itself.  
Is there any way to encrypt the booting process of pynq and encrypt sd card image files to avoid the access of files to the end-user? basically, i don’t want end-user to look into the code and hwh/bitstream files. Is it possible in PYNQ?

---

<div class="post-metadata">

**Author:** ![skalade](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/skalade/32/686_2.png) [@skalade](https://discuss.pynq.io/u/skalade)\
**Post date:** [March 25, 2022, 11:32pm UTC](https://discuss.pynq.io/t/encrypted-image-for-specific-board/3908/2 "2022-03-25T23:32:28Z")

</div>

Hi there,

I’m really not sure. In your use case, does the end-user still need to use Jupyter? If you just want to have 1 application exposed, you could employ some firewall rules and close off all ports not related to that application.

For example, you could have a [Voila](https://discuss.pynq.io/t/voila-rfsoc-dashboards-for-radio-data-visualization/784) dashboard running on the board and have the user connect to that, but since dashboards prevent you from executing arbitrary code they would only be able to interact with the widgets you provide.

I’m not too well versed on encryption. From what I know, on ubuntu, you have an option to encrypt your drive during install. Don’t think we have this on PYNQ.

Thanks  
Shawn

---

<div class="post-metadata">

**Author:** ![mizan](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/mizan/32/2119_2.png) [@mizan](https://discuss.pynq.io/u/mizan)\
**Post date:** [March 28, 2022, 5:00am UTC](https://discuss.pynq.io/t/encrypted-image-for-specific-board/3908/3 "2022-03-28T05:00:07Z")

</div>

Hi Shawn,

> does the end-user still need to use Jupyter?

No, even no other interface is needed. Everything is controlled via an outside mainboard.  
I just don’t want end-user to have access to see the Linux file system through sd card reading.
