Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 18. Dec 2017, 08:59

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 14. Jul 2015, 18:14 
Offline

Joined: 14. Jul 2015, 18:08
Posts: 1
Hello there,

A quick pre-sale question. Is it possible to restrict display of the iFrame contents to requests coming from the parent domain only?

An example would be that I have lots of files hosted in a folder in my shared webhosting account. I would like to display this content in an iFrame on my WordPress installation. What I really want to achieve is the ability to restrict (for most normal internet users) the ability to access the content outside of my WordPress install. I realise you could view the sourse and access the cotent that way but I want to try and deter people from viewing the content outside of WordPress.

Many thanks,

David


Top
 Profile  
 
PostPosted: 14. Jul 2015, 20:08 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10573
No - you can restrict that a page is allowed to be viewed in an iframe. The protection you need, needs to be different.
E.g. you don't allow direct access by a .htaccess. And than you need e.g. a php class with delivers the files and there the protection is implemented.

Best, Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Majestic-12 [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO