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 »

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: 846
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 »

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 crap in /etc/init.d/thttpd.sh

Go spelunking and have fun.
RAID is not a Back-up!

H/W: QNAP TVS-871 (i7-4790. 16GB) (Plex server) / TVS-EC1080 (32Gig ECC) - VM host & seedbox
H/W: Asustor AS6604T (8GB) / Asustor AS7010T (16GB) (media storage)
H/W: TS-219 Pro / TS-509 Pro
O/S: Slackware 14.2 / MS Windows 7-64 (x5)
Router1: Asus RT-AC86U - Asuswrt-Merlin - 386.7_2
Router2: Asus RT-AC68U - Asuswrt-Merlin - 386.7_2
Router3: Linksys WRT1900AC - DD-WRT v3.0-r46816 std
Router4: Asus RT-AC66U - FreshTomato v2021.10.15

Misc: Popcorn Hour A-110/WN-100, Pinnacle Show Center 250HD, Roku SoundBridge Radio (all retired)
Ditched QNAP units: TS-269 Pro / TS-253 Pro (8GB) / TS-509 Pro / TS-569 Pro / TS-853 Pro (8GB)
TS-670 Pro x2 (i7-3770s 16GB) / TS-870 Pro (i7-3770 16GB) / TVS-871 (i7-4790s 16GB)
Mousetick
Experience counts
Posts: 1081
Joined: Thu Aug 24, 2017 10:28 pm

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

Post by Mousetick »

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: 846
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 »

853proControlPanel.png
You do not have the required permissions to view the files attached to this post.
RAID is not a Back-up!

H/W: QNAP TVS-871 (i7-4790. 16GB) (Plex server) / TVS-EC1080 (32Gig ECC) - VM host & seedbox
H/W: Asustor AS6604T (8GB) / Asustor AS7010T (16GB) (media storage)
H/W: TS-219 Pro / TS-509 Pro
O/S: Slackware 14.2 / MS Windows 7-64 (x5)
Router1: Asus RT-AC86U - Asuswrt-Merlin - 386.7_2
Router2: Asus RT-AC68U - Asuswrt-Merlin - 386.7_2
Router3: Linksys WRT1900AC - DD-WRT v3.0-r46816 std
Router4: Asus RT-AC66U - FreshTomato v2021.10.15

Misc: Popcorn Hour A-110/WN-100, Pinnacle Show Center 250HD, Roku SoundBridge Radio (all retired)
Ditched QNAP units: TS-269 Pro / TS-253 Pro (8GB) / TS-509 Pro / TS-569 Pro / TS-853 Pro (8GB)
TS-670 Pro x2 (i7-3770s 16GB) / TS-870 Pro (i7-3770 16GB) / TVS-871 (i7-4790s 16GB)
syncthing
Know my way around
Posts: 136
Joined: Mon Aug 13, 2018 4:58 pm

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

Post by syncthing »

@jaysona: which QTS version do you use; mine with 4.5.2 looks like mouseticks picture
User avatar
jaysona
Been there, done that
Posts: 846
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 »

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.
RAID is not a Back-up!

H/W: QNAP TVS-871 (i7-4790. 16GB) (Plex server) / TVS-EC1080 (32Gig ECC) - VM host & seedbox
H/W: Asustor AS6604T (8GB) / Asustor AS7010T (16GB) (media storage)
H/W: TS-219 Pro / TS-509 Pro
O/S: Slackware 14.2 / MS Windows 7-64 (x5)
Router1: Asus RT-AC86U - Asuswrt-Merlin - 386.7_2
Router2: Asus RT-AC68U - Asuswrt-Merlin - 386.7_2
Router3: Linksys WRT1900AC - DD-WRT v3.0-r46816 std
Router4: Asus RT-AC66U - FreshTomato v2021.10.15

Misc: Popcorn Hour A-110/WN-100, Pinnacle Show Center 250HD, Roku SoundBridge Radio (all retired)
Ditched QNAP units: TS-269 Pro / TS-253 Pro (8GB) / TS-509 Pro / TS-569 Pro / TS-853 Pro (8GB)
TS-670 Pro x2 (i7-3770s 16GB) / TS-870 Pro (i7-3770 16GB) / TVS-871 (i7-4790s 16GB)
Post Reply

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