FRIHOSTFORUMSSEARCHFAQTOSBLOGSCOMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Prevent my website from being downloaded





jawker
im working on my website at present and i would like my site to secured.. i mean i want to prevent others from downloading my site.. does anyone of you guys know how i could do this? like i opened my site from the internet and i tried the "file -> save as" from my browser and saved it on my desktop.. when i checked it out, my javascripts, styles, and other files where all saved on the desktop..i would like to prevent this.. i hope someone could help me thanks.
clogfan
Hi,

It is impossible to do what you want. You could open your site in a blank window, without the menu. That'll prevent the regular visitor to use "file - save as", but not the person that really wants your site. And if someone wants to browse offline, and thus lets his browser download your site for offline viewing, you can't avoid that either.

Disadvantage is that you need javascript to be active, as in HTML you cannot specify how a new window should be opened. This might lead to difficulties for users to view your site if they disabled javascript.

Maybe Flash might help, but I cannot judge that as I never used Flash.

Good luck !
jawker
i do believe it is possible because i've seen sites where i tried to save it to my harddisk and all i get is request java information and a blank browser saved on my disk
homer09001
simply seperate your code into different files name them randomly and create a simple php file using teh following code:

Code:


<?php
include("18346283.htm");
?>



this should in theory not download al the files otherwise i pass
Grimboy
By the time the page has been viewed by the user it's already been downloaded. You could shut out part of your audience by using some long javascript hack, but I doubt any would be fully whole proof.

Wanting to do this is very old-man-on-counsil-estate-with-big-dog. Why would you need to protect your pages anyway? This goes against common internet etiquette.
Naif
What exactly are you trying to protect? The images on your site, the content, the webpage graphics, the HTML code or what?

If you dont want others to see or steal your HTML code, then you can encrypt it. Yeah, its impossible to encrypt HTML documents because they are nothing more than ASCII files, I know that. But still its possible to encrypt HTML documents using Javascript technology. To learn more about it, refer to this webpage:

http://www.html-protector.com/encrypt/password_protect_html.aspx

You can even download a free trial of their application from there. The application has quite a handful of interesting features.

To find a list of more applications you can use to encrypt your HTML documents, go to download.com and search for "HTML encrypt"

All the best....
izcool
I don't see any reason on why you would want to protect your work from being "downloaded". As mentioned in other people's replies above mine, they can get to the source one way or another. They can get the HTML source by going to View >> Source Code, opening a new window to get all the toolbars, disabling JavaScript, and other common methods like that. Only some very picky sites actually succeed with doing a good job with finding the source. I know some video sites have a page that directs to the video file where it cannot be downloaded, very tricky to get past. Big sites like http://www.msn.com/ have their source code so screwed up that it would be near impossible to decode it all to get one bit out of it. (They removed all of the lines and blank spaces to probably save room, make page loads go quicker, and hard to try to get one bit of source code out of.

- Mike.
sonam
He, he, he,
You can simple disable "Save As" function in IE and Mozila Firefox (tested only on localhost) with three things. These things are very expensive but today I have big heart. A Cool lso you can use this thinks on both html or php pages (others I didn’t tested).

OK, first, put this CSS link in head of your page. CSS is little bit irregular but it is working. Of course, don’t try to create CSS file. This moment is very important because I find this trick before two years but I didn’t publishing it. Rolling Eyes

Code:
<link rel="stylesheet" href="no:save.css" type="text/css">


Second put this nosave iframe on the end of page.

Code:
<IFRAME NAME='nosave' SRC= nosave.htm' WIDTH='0' HEIGHT='0' SCROLLING='no' MARGINWIDTH='0' MARGINHEIGHT='0' STYLE="border: 0; "></IFRAME>


Third, go on my site and download my sig. Then create link to my site, hi, hi, hi. I am joking…




…or maybe not! Wink

Sonam

P.S.
Don’t forget to post here how is everything working on Netscape and Operaaaaaaaaaaaaa. Of course, like others, I think this is not necessary because every kid can fake this protection.
siddhant123
There are securities for enterprises to prevent video downloads. Akamai DRM is the leader in this but it is too costly . You can try vdocipher.com . They use ncryption technology to prevent video download. No downloader is able to catch them. So you can host secure videos on your site through them.
sonam
siddhant123 wrote:
There are securities for enterprises to prevent video downloads. Akamai DRM is the leader in this but it is too costly . You can try vdocipher.com . They use ncryption technology to prevent video download. No downloader is able to catch them. So you can host secure videos on your site through them.


You are posted on eight year old topic and most of this answers are not valid anymore. Smile

Sonam
lightworker88
jawker wrote:
im working on my website at present and i would like my site to secured.. i mean i want to prevent others from downloading my site.. does anyone of you guys know how i could do this? like i opened my site from the internet and i tried the "file -> save as" from my browser and saved it on my desktop.. when i checked it out, my javascripts, styles, and other files where all saved on the desktop..i would like to prevent this.. i hope someone could help me thanks.


First of all, if you aren't ready for public viewing of your site, don't advertise it. I don't even do my development on a webhost. I downloaded XAMPP (the windows equivalent of LAMP) so as to run webservers while offline. But on your site, be sure to have an index.html or index.php in each such directory.

It sounds like you save a page from your site to your as a complete webpage rather than as HTML only. If you then opened it from the file system or with the "File|Open File" function in the browser, it would have the ".mht" extension and scrolling down should show the text of those files. I believe even images would show the text inside them rather than the image. This would probably vary by browser.

I do not know how to keep from saving from the browser. I would first try putting your restricted files in directories above or parallel to the public_html folder. You could also change their permissions so they can be called only from webpages on your site. But I would think this would not prevent their being saved once the page is in your browser, if the user saves the page as a complete webpage.
Sykox
There is something which can allow you to encrypt your pages so much that you can't even view source, print PDF, save as, use site grabber but i dont know what it was, forgot the name. Its possible but quite pricey and not worth the efforts because if someone puts their mind to it, they can break it no matter how much you try to protect.
sailor69
Images can apparently be protected. I have recently encountered a number of sites, such as for copyrighted images which could be used as logos, which do not allow the option to save the images shown. This seems to happen basically when they want you to buy the images instead. I do not yet know the method.


edited: "which do not allow the option" was "which do allow the option"
Related topics
Windows Tips&tricks!
Fantastico could be updated
more space
Online file storage
problem with my computer
New anime website being started
i want to play video from my site
Web site structure and filenames
Folder structure and file names - index or name, php or html
Great! Bandwidth all used up
Web developer
I need to create proxy server in our network.
Prevent Website from Bad Referrers / Porn Sites
google bot unable to access the site
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.