Hello,
i'm informing me about developing an (little) internet portal and i want to use java (e.g. servlets). furhtermore i want to seperate the content from the code.
Among other things i have to access to a file system to offer the user files. Therefore i read the path of the files from a mySQL database.
Now i have to control which user has access to which file and i have to be shure(!!!) that there is no way for users to read files wich don't belong to them. This point is very important.
I don't know which is the best way to realize it. Perhaps just servlets or a framework like cocoon or turbine???
i'm informing me about developing an (little) internet portal and i want to use java (e.g. servlets). furhtermore i want to seperate the content from the code.
Among other things i have to access to a file system to offer the user files. Therefore i read the path of the files from a mySQL database.
Now i have to control which user has access to which file and i have to be shure(!!!) that there is no way for users to read files wich don't belong to them. This point is very important.
I don't know which is the best way to realize it. Perhaps just servlets or a framework like cocoon or turbine???