Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Question about File Server / MySQL Database

Question about File Server / MySQL Database

Scheduled Pinned Locked Moved Database
questioncsharpdatabasemysqlcom
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jassim Rahma
    wrote on last edited by
    #1

    Hi, I have .NET WinForm application with MySQL backend. It's an HR application. I want to store employee documents such as ID card, passport, letters (e.g. salary certificates, warning letters, etc). I don't want to store the scanned documents in the database itself therefore I am planning to store it on my file server and just save a link in MySQL. My question, if I save a link, how can I make sure no one will know that link's folder then open it and see everything else?

    Technology News @ www.JassimRahma.com

    P B 2 Replies Last reply
    0
    • J Jassim Rahma

      Hi, I have .NET WinForm application with MySQL backend. It's an HR application. I want to store employee documents such as ID card, passport, letters (e.g. salary certificates, warning letters, etc). I don't want to store the scanned documents in the database itself therefore I am planning to store it on my file server and just save a link in MySQL. My question, if I save a link, how can I make sure no one will know that link's folder then open it and see everything else?

      Technology News @ www.JassimRahma.com

      P Offline
      P Offline
      Peter Leow
      wrote on last edited by
      #2

      Just store the filenames without the path to the file server in the database table. Store the path to the file server separately say in another database table and concatenate it with the filename by code whenever user wants to access a file.

      1 Reply Last reply
      0
      • J Jassim Rahma

        Hi, I have .NET WinForm application with MySQL backend. It's an HR application. I want to store employee documents such as ID card, passport, letters (e.g. salary certificates, warning letters, etc). I don't want to store the scanned documents in the database itself therefore I am planning to store it on my file server and just save a link in MySQL. My question, if I save a link, how can I make sure no one will know that link's folder then open it and see everything else?

        Technology News @ www.JassimRahma.com

        B Offline
        B Offline
        Bernhard Hiller
        wrote on last edited by
        #3

        Instead of using a plain database back-end, create a server which communicates with the clients and the database. So any client will contact the server which in turn talks to the database and file system, and serves the data/documents back to the clients.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups