Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • SkyTheLine 32 posts 102 karma points
    15 days ago

    Best Practise for User Data

    Hi there

    I'm thinking about to make a Doc lib, which is user related.

    I thought about to create a new Tables in the DB and i don't know what would be best practise to handle medias.

    My prefered solution would be:

    in wwwroot to create a new folder with "usr"

    for each User i would create a unique User ID. And use that for his base folder.


    And after that seperate the medias with their type.

    /img (jpeg and png) /doc (pdf)

    In the db table would i get the absolute path from the data files and save them.

    So the user would have a "delete my data" function in his account. And i would simply get his User ID and delete the Tables with his User ID and the Base folder. Would also try then to catch all Blogs which he created and delete/anoymous them.

    Would that make sense?

Please Sign in or register to post replies

Write your reply to: