Webrick and Basic Auth

J

jim

Hi

I have a directory of files that I want to share over the net
with Webrick. Basically, I have something simple now where
Webrick mounts the directory and serves up the files. Neat
and simple.

However, I have another set of files that I want to share,
but I want to have only authorized people access them.

Is there a simple way (say by adding htaccess to a directory(s))
to add authentication to a webrick mounted directory?

Sorry if this is a dumb question.

Thanks
 
S

Sarah Tanembaum

Hi

I have a directory of files that I want to share over the net
with Webrick. Basically, I have something simple now where
Webrick mounts the directory and serves up the files. Neat
and simple.

However, I have another set of files that I want to share,
but I want to have only authorized people access them.

Is there a simple way (say by adding htaccess to a directory(s))
to add authentication to a webrick mounted directory?

Sorry if this is a dumb question.

Thanks
Is Webrick secure? What's precautions and gotchas should we put our
attention too? Also, how the performance?
 
P

Peter Retief

Sarah said:
Is Webrick secure? What's precautions and gotchas should we put our
attention too? Also, how the performance?

Hi
Use controller (before_filter) with rubyonrails and the login generator
Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top