How to make the QNAP admin interface embeddable in a frame?

Post your questions about Web Server usage and Apache + PHP + MySQL/SQLite web applications.
Post Reply
Dondochaka
New here
Posts: 2
Joined: Fri Mar 05, 2021 8:16 am

How to make the QNAP admin interface embeddable in a frame?

Post by Dondochaka » Sat Apr 03, 2021 6:50 am

I have a webapp (only on my LAN) running at appname.local. I want to embed my QNAP admin web app in a frame (which I have at qnap.local on my LAN). By default this is not supported, as the X-Frame-Options: header value is SAMEORIGIN.

In Control Panel -> Web Server there is an option "Do not allow Web Server embedding in iFrames." I have disabled it but nothing has changed and embedding still fails. Is web server the admin interface, or something else? How should I accomplish this?

User avatar
jaysona
Been there, done that
Posts: 655
Joined: Tue Dec 02, 2008 11:26 am
Location: Somewhere in the Great White North

Re: How to make the QNAP admin interface embeddable in a frame?

Post by jaysona » Tue Apr 06, 2021 2:11 am

The control panel is for the (cripled) Apache web server that runs on port 80.

The Admin webpage that runs on 8080 is run by a different web-server. All of the files are located in /home/httpd/ and is controlled by all the ** in /etc/init.d/thttpd.sh

Go spelunking and have fun.
H/W: TS-219 Pro / TS-269 Pro / TS-253 Pro (8Gig) / TS-509 Pro x2 / TS-569 Pro
H/W: TS-670 Pro (i7-3770S 16Gig) x2 / TS-853 Pro (8Gig) / TVS-871 Pro (i7-4790S 16Gig)
O/S: Slackware 14.2 / MS Windows 7-64 (x5)
Router1: Asus RT-AC86U - Asuswrt-Merlin - 384.19
Router2: Asus RT-AC68U - DD-WRT v3.0-r39960M kongac
Router3: Linksys WRT1900AC - DD-WRT v3.0-r43028 std
Router4: Asus RT-AC66U - FreshTomato v2020.7
Misc: Popcorn Hour A-110/WN-100, Pinnacle Show Center 250HD, Roku SoundBridge Radio (all retired)

Mousetick
Been there, done that
Posts: 946
Joined: Thu Aug 24, 2017 10:28 pm

Re: How to make the QNAP admin interface embeddable in a frame?

Post by Mousetick » Fri Apr 23, 2021 4:19 am

qtsiframe.png
You do not have the required permissions to view the files attached to this post.
Last edited by Mousetick on Fri Apr 23, 2021 5:56 am, edited 1 time in total.

User avatar
jaysona
Been there, done that
Posts: 655
Joined: Tue Dec 02, 2008 11:26 am
Location: Somewhere in the Great White North

Re: How to make the QNAP admin interface embeddable in a frame?

Post by jaysona » Fri Apr 23, 2021 4:36 am

853proControlPanel.png
You do not have the required permissions to view the files attached to this post.
H/W: TS-219 Pro / TS-269 Pro / TS-253 Pro (8Gig) / TS-509 Pro x2 / TS-569 Pro
H/W: TS-670 Pro (i7-3770S 16Gig) x2 / TS-853 Pro (8Gig) / TVS-871 Pro (i7-4790S 16Gig)
O/S: Slackware 14.2 / MS Windows 7-64 (x5)
Router1: Asus RT-AC86U - Asuswrt-Merlin - 384.19
Router2: Asus RT-AC68U - DD-WRT v3.0-r39960M kongac
Router3: Linksys WRT1900AC - DD-WRT v3.0-r43028 std
Router4: Asus RT-AC66U - FreshTomato v2020.7
Misc: Popcorn Hour A-110/WN-100, Pinnacle Show Center 250HD, Roku SoundBridge Radio (all retired)

syncthing
Know my way around
Posts: 119
Joined: Mon Aug 13, 2018 4:58 pm

Re: How to make the QNAP admin interface embeddable in a frame?

Post by syncthing » Fri Apr 23, 2021 4:48 am

@jaysona: which QTS version do you use; mine with 4.5.2 looks like mouseticks picture

User avatar
jaysona
Been there, done that
Posts: 655
Joined: Tue Dec 02, 2008 11:26 am
Location: Somewhere in the Great White North

Re: How to make the QNAP admin interface embeddable in a frame?

Post by jaysona » Fri Apr 23, 2021 5:07 am

QTS 45.3.6.1446 - for whatever reason(s), QNAP does not like to make new firmware available to some NAS models, even thought those models technically can use later firmware versions.
853proControlPanel-1.png
You do not have the required permissions to view the files attached to this post.
H/W: TS-219 Pro / TS-269 Pro / TS-253 Pro (8Gig) / TS-509 Pro x2 / TS-569 Pro
H/W: TS-670 Pro (i7-3770S 16Gig) x2 / TS-853 Pro (8Gig) / TVS-871 Pro (i7-4790S 16Gig)
O/S: Slackware 14.2 / MS Windows 7-64 (x5)
Router1: Asus RT-AC86U - Asuswrt-Merlin - 384.19
Router2: Asus RT-AC68U - DD-WRT v3.0-r39960M kongac
Router3: Linksys WRT1900AC - DD-WRT v3.0-r43028 std
Router4: Asus RT-AC66U - FreshTomato v2020.7
Misc: Popcorn Hour A-110/WN-100, Pinnacle Show Center 250HD, Roku SoundBridge Radio (all retired)

Post Reply

Return to “Web Server & Applications (Apache + PHP + MySQL / SQLite)”