Click to See Complete Forum and Search --> : disable vieuwing source code


yusuf
01-01-2003, 06:51 PM
Is it possible to disable the function in browsers that let's you see the source code of a html document? If so, how do you do this?
thanks!

pyro
01-01-2003, 06:56 PM
No, this is not possible. There are somethings you can do to make it harder, but anyone who is even a bit computer savvy will be able to get at your source with no problem at all.

yusuf
01-01-2003, 07:23 PM
I know it is verry easy to do so, therefore I want to protect my swf's wich I'm using. I've downloaded a lot of swf's from other site's and I know it's very simpel to vieuw the code of the swf's (ASV). therefore I want to make it harder to find where they are.

thnx for replying::rolleyes:

pyro
01-01-2003, 07:26 PM
Why don't you just password protect the .swf when you export it? This will keep people from being able to import it into Macromedia Flash and view you code...

yusuf
01-01-2003, 07:31 PM
Passw. protection by exporting swf's works only if you import them later in a new fla. doc.
Ther are other programs like ASV (ActionScriptViewer) and swf decompiler wich let you extract an swf an shows you the actionscript of the different frames and mc. You can also export sounds, images ... everything can be extracted.

pyro
01-01-2003, 07:51 PM
The most you can do is make it take a person a few seconds longer to get at your stuff. All files are stored in your temp dir. and people could also just choose file>save as...There is really no way to protect you source.

Zach Elfers
01-01-2003, 08:08 PM
Or you could do something like this:

<script language="JavaScript" type="text/JavaScript" src="movie.js"></script>

movie.js

document.write("<embed movie="movie.swf" blah blah blah");


That would offer good protection, but not the best.:)

jeffmott
01-01-2003, 09:56 PM
Zach Elfers
good protection

Not even close. This will do nothing more than increase the number of people who cannot properly view the site.

To everyone, please do not give solutions for "good" security under false pretenses. If you wish it to be publicly readable, you CANNOT protect it.