Jump to content

Htaccess for secondlife viewer only website


Deadly Bunny
 Share

You are about to reply to a thread that has been inactive for 1457 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

if you'd like to allow access only for residents that are currently logged in to Second Life and browse your page (via Shared Media on a prim or internal web browser), yet deny it for people that user Chome, Firefox or Edge outside Second Life, then... there is not really a good way to do it. My only idea revolves around user agent detection, but these can be easily replaced with web browser plugins - maybe someone else would have a better idea. Nonetheless, if you'd like to try...

https://stackoverflow.com/questions/11864727/htaccess-allow-all-from-specific-user-agent

Example user agent for built-in viewer's web browser is...

Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) (Dullahan:1.1.1320 [64bit] - SecondLife/6.3.9.58137 (Firestorm-Furtwister-64bit-AVX; firestorm skin)) Chrome/72.0.3626.121 [64bit] Safari/537.36

Looking for Dullahan and SecondLife/ may be a key here.

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 1457 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...