I'm not sure if there is a way around this but I will try anyways :)
I have a cgi script http://www.example.com/folder/script.cgi. I want to send it a command http://www.example.com/folder/script.cgi?command=dothis. The /folder/ is protected however by a username and password (Done in Apache). So when you try to access the cgi it asks for a username and password.
The reason why I am protecting a CGI is because its actually on a network camera. The CGI handles all the commands for the camera. So if you send a command to the CGI to move right, the camera will pan right.
Considering you dont want all people to access the camera you need a username and password.
I understand how some browsers (like IE) are getting rid of the username:password@ but for some reason even though my browser is up to date it still works. (IE & FireFox)
Can't you send the commands to the camera by calling them through a wrapper script?
I'm thinking of a PHP script which checks the user has the right cookie / ip address / username and password and THEN sends the command directly to the camera, without the user ever seeing the direct command?
This thread [webmasterworld.com] talks about running commands from a script.
I get the feeling I still don't really understand what you're doing, or why you're doing this :-)
Visitors to your site are supposed to be controlling a camera, right? Except you want to restrict this to certain visitors? Do they have a password or something? Or are you able to restrict it to certain ip addresses?