Let’s say I have a swf with a movie or something (it’s a stream actually but it doesn’t really matter).
I created a quite secure way to get to the page where it is displayed (as embed). The only problem is this:
How do I stop someone to view source or use something like Firebug and send the address of the file to somebody else.
I want them to see the result but not be able to send it to anyone else.
The platform for my site is LAMP.
You can’t do this.
What you should do instead, is to have some authentication and authorization in place, so that only authenticated and authorized users can access said address. That way users can share the address as they like, but unauthorized users can only get “Access denied” messages.
This does not prevent authorized users from downloading the file and hosting it somewhere else, though. If you don’t trust them not to do this, don’t authorize them.