rogue poser
2010-05-20 10:25:16
Hey,
I was wondering if a anyone knows if there is a way to limit access to files on a server. Now by this i do not mean password protection the file or denying access to it all together. What im imagining is this
i have a jar file. in the html code it launches with a command like….
[PHP] <applet code="fungame.main"
archive="jars/fungame.jar"
width=600 height=500>
</applet>[/PHP]
Then imaging that it is embedded in an html file called fungame.html
Is there a way to restrict access to that jar file, so that it can only be spawned from within html file fungame.html? I cant seem to figure out how to do it in .htaccess and was wondering if any of you had any ideas.
Thanks
I was wondering if a anyone knows if there is a way to limit access to files on a server. Now by this i do not mean password protection the file or denying access to it all together. What im imagining is this
i have a jar file. in the html code it launches with a command like….
[PHP] <applet code="fungame.main"
archive="jars/fungame.jar"
width=600 height=500>
</applet>[/PHP]
Then imaging that it is embedded in an html file called fungame.html
Is there a way to restrict access to that jar file, so that it can only be spawned from within html file fungame.html? I cant seem to figure out how to do it in .htaccess and was wondering if any of you had any ideas.
Thanks