How to access file that requires credentials?

Hi,

I’m coding some Ruby in a Windows environment.
I have some code that accesses some files using the FileUtils library.
Now that I’m shifting into production, my code will run in a location
from which I need to specify user/password credentials in order to
access those files. Anyone know how I can do that?

Thanks!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs