473,382 Members | 1,814 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

creating a secure directory

37
Hi,

I have an asp website where by jobseekers can login and upload their CV/Resume in word format to a directory called CV. This directory has read and write permission to allow the upload to work. the link to the CV is held in a database.

I have another login script where by an employer can login and view jobseeker CV/Resumes. However how do I make this directoy secure so that only people who are logged in can view the CV.

At present if any one make a wild guess and types in: http://www.mydomian/cv/mycv.doc

any body can access the CV. I dont wish to store the CVs in a database as blobs either. Any suggestions?

thanks
Sep 24 '07 #1
3 1282
jhardman
3,406 Expert 2GB
I think the most straight-forward way to do this is put it in a db. You can use a secure directory, but then you will have to add permissions for every user who might log in, and that will be long and tedious, at least I don't know how to do that automatically. On the other hand, putting it in even a non-protected db would make it very difficult for anyone to see if they weren't authorized.

Jared
Sep 25 '07 #2
ozzii
37
I think the most straight-forward way to do this is put it in a db. You can use a secure directory, but then you will have to add permissions for every user who might log in, and that will be long and tedious, at least I don't know how to do that automatically. On the other hand, putting it in even a non-protected db would make it very difficult for anyone to see if they weren't authorized.

Jared
What about puting it in a db in a memo field. eg. the jobseeker can copy and paste it to a memo field to be saved in a database. I know it will be in a standard format without the layout and formating afforded to a word document. But i can live with that. But what i wish to do then is be able to stream that content to a word doc using asp . any idea how to do that i.e. write the content held in in db to a word document?
Sep 30 '07 #3
jhardman
3,406 Expert 2GB
What about puting it in a db in a memo field. eg. the jobseeker can copy and paste it to a memo field to be saved in a database. I know it will be in a standard format without the layout and formating afforded to a word document. But i can live with that. But what i wish to do then is be able to stream that content to a word doc using asp . any idea how to do that i.e. write the content held in in db to a word document?
That's not a problem. ASP has an ADO object called "ADO.STREAM" which is used to read binary files so they can be put into databases and reading binary data from a db so they can be sent from the db to the user. It works kind of like the textStreamObject. Check this out and if it gives you trouble, post again and I will try to walk you through it.

Jared
Oct 1 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Bryan Meyer | last post by:
Hello Everyone: I have a PHP script that attempts to create a temporary file to be used during processing. The script is owned by my username (bryanrme) on the server. When the script attempts...
1
by: deko | last post by:
I use a download script to allow users to download files that are not in a publicly accessible directory. The files should only be downloadable from a secure page which only authenticated users...
6
by: Billy Jacobs | last post by:
I have a website which has both secure and non-secure pages. I want to uses forms authentication. How do I accomplish this? Originally I had my web.config file in the root with Forms...
3
by: dave | last post by:
I am using vs.net 2003 on windows xp. After clicking on a project within my solution and selecting create new folder vs.net responds back with , the "directory already exists". If i look at the...
9
by: dennist685 | last post by:
Walkthrough: Creating a Web Page to Display Access Database Data I've started the above walkthrough. However, near the beginning it gives the following instructions To set permissions in the...
12
by: Mats Lycken | last post by:
Hi, I'm creating a CMS that I would like to be plug-in based with different plugins handling different kinds of content. What I really want is to be able to load/unload plugins on the fly without...
5
by: Sam777 | last post by:
I was under the impression that creating the app_offline.htm file at the root of the webapp would cause all handles to be closed so that the app could be removed. Unfortunately, this isn't the...
15
by: David Thielen | last post by:
Hi; My ASP.NET app (C# calling J# under .net 2.0) creates a png file in a subdirectory to display as part of the created page. However, the bitmap will not display due to a security violation. ...
14
by: knal | last post by:
Hi there, I'm looking for a secure login script for a sort-of-community site... (PHP, MySQL, sessions, or maybe something else ... ) I know there are a lot of scripts out there, but none of them...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.