CrazyEngineers
  • File access from web server to secondary storage server

    siraj.mussafirr

    siraj.mussafirr

    @sirajmussafirr-UMGx7y
    Updated: Oct 25, 2024
    Views: 955
    I'm developing a website for my friend. I'm stuck in a place where i need to create a folder -in a second server not directly accessible for public-and populate it with some config files when a user sign up.
    To be clear the web server holds only the php files to serve the client request. it is the second server that is used to store important user credentials like user uploaded files.

    Can anyone give an insight on how to do? Its possible by SSH. but is there an easier way using just an HTTP server like apache? Thanks in advance for the help and support
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • Kaustubh Katdare

    AdministratorOct 24, 2012

    If you only need to hide your folder from public and search engine bots, you can use .htaccess file to control the access. I'm not exactly sure about the 'second server' you're talking about. Could you explain the situation a bit in more detail?
    Are you sure? This action cannot be undone.
    Cancel
  • siraj.mussafirr

    MemberOct 24, 2012

    The client needs to keep all the uploaded file into a separate server machine that is always connected to the web server. He doesnt want to clutter the web server with the user file and just need to fetch it from that separate machine when a user request the file.
    An easier way to explain this problem is that the client needs to back up the files into a new system periodically. I wish to get any kind of http solution( hoping it to be easier and managible than SSH)
    Are you sure? This action cannot be undone.
    Cancel
  • siraj.mussafirr

    MemberNov 6, 2012

    I guess CDN is the one I was looking for.. thanks Admin 😀
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register