Forum Moderators: phranque
Let's say I have a file.
An embedded plugin calls this file by name.
Since there is no real way to disable viewing source, I want to use a "decoy" filename. Something that doesn't really exist.
If the plugin requests it, I want it to give it the real one, but if someone tries to go to the URL directly, they get nothing.
Is this possible?
Yes this is possible, but it's a little bit complicated.
You might want to look for information on basic rewriting, and then read-up on the condition {THE_REQUEST}... I just posted an example in another thread, so that might give you some ideas and a direction to go. Then when you have what you think will work, or an idea of exactly what you need, post it here, and someone will help walk you through it.
Hope this gives you an idea of where to start.
Justin