First of all, if this is not the right place, please move it.

I was wondering if it was possible to put a file(lets say a java class file) in a seperate directory where no one can access it, but make it still show up on an HTML document. Is the public html directory protected enough that they can't access files?

Recommended Answers

All 3 Replies

Eh, if the user needs access to it, they must be able to get at it.

I don't think its really possible to do what you want, at least not easily.

I've already figured it out. I programmaticaly made it to were people could only use the program from my website.

Well that solved it ;)(

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.