NaCl behind .htaccess protection? fails on Wnidows, not on Mac

12 views
Skip to first unread message

HighEnergy

unread,
Feb 10, 2012, 5:09:00 PM2/10/12
to Native-Client-Discuss
I'm developing a NaCl app with a small team spread across the
country. I'd like to post alpha versions on my server that only team
members can access, so I tried the first simple thing I came across -
an .htaccess file. This doesn't work, but if I move the .nexe out to
a public folder and access them from .html and .js in the protected
folder, it works great.... on MacOS but not on Vista. Both are using
the latest non-beta Chrome.

Any tips on how to password protect our stuff that's in development?

Not all of us are developers, so we can't build and run from localhost
on their machines.

Thanks for any tips,
-h.e.

assaf raman

unread,
Feb 10, 2012, 6:06:53 PM2/10/12
to native-cli...@googlegroups.com
VPN?


--
You received this message because you are subscribed to the Google Groups "Native-Client-Discuss" group.
To post to this group, send email to native-cli...@googlegroups.com.
To unsubscribe from this group, send email to native-client-di...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/native-client-discuss?hl=en.


assaf raman

unread,
Feb 10, 2012, 6:11:26 PM2/10/12
to native-cli...@googlegroups.com
Try this VPN product: https://secure.logmein.com/products/hamachi/
if it works for you it is only 20$ a year for 32 users.

HighEnergy

unread,
Feb 10, 2012, 8:12:51 PM2/10/12
to Native-Client-Discuss

Sorry - VPN is not appropriate. We need to run Chrome on our local
systems to test a variety of platforms, and we need to have multiple
sessions talk to the server.
-h.e.

On Feb 10, 3:11 pm, assaf raman <assafra...@gmail.com> wrote:
> Try this VPN product:https://secure.logmein.com/products/hamachi/
> if it works for you it is only 20$ a year for 32 users.
>

David Michael

unread,
Feb 13, 2012, 11:30:32 AM2/13/12
to native-cli...@googlegroups.com
On Fri, Feb 10, 2012 at 3:09 PM, HighEnergy <gja...@gmail.com> wrote:
I'm developing a NaCl app with a small team spread across the
country.  I'd like to post alpha versions on my server that only team
members can access, so I tried the first simple thing I came across -
an .htaccess file.  This doesn't work, but if I move the .nexe out to
a public folder and access them from .html and .js in the protected
folder, it works great....  on MacOS but not on Vista.  Both are using
the latest non-beta Chrome.
This sounds like an Apache-specific configuration question. Perhaps the .htaccess file is not set up quite right? Make sure you are permitting access to the .nmf file and .nexe files. Also, when I glanced at the documentation for .htaccess, I noticed that Apache recommends against it, if you can change the server configuration directly:
"However, in general, use of .htaccess files should be avoided when possible. Any configuration that you would consider putting in a .htaccess file, can just as effectively be made in a <Directory> section in your main server configuration file."

 

Any tips on how to password protect our stuff that's in development?
Again, I think this is not really a NaCl question but more of a web server configuration question. I think your best bet is to look at documentation for your web server. If you do find places where the server is definitely configured correctly but NaCl fails due to a client-side problem, please do let us know. 

Not all of us are developers, so we can't build and run from localhost
on their machines.

Thanks for any tips,
-h.e.
Reply all
Reply to author
Forward
0 new messages