password protect a specific URL

The site is on dedicated server with no panel or anything, all done through the native litespeed panel. I need to password protect a single URL.

that's not a physical file path I'm trying to protect, it's just that particular URL

Last edited by a moderator:


Well-Known Member
Staff member
I am not 100% sure if you can do that or not, as far as I know, For normal URL, you can simply create a context at that Virtual host and set relm for password protection.

For such query string based URL, the situation could be more complicated. You can try something in .htaccess like this discussion but I did not test such a solution and there is no guarantee it works