Secure Folder Per User (XP)?

Jul 7, 2011

A group of senior Computer Science students here has a problem with their thesis which is about securing a folder/file, that is, the only allowed person to access (read,modify,delete) the file is the one who is currently log-in to (I supposed) the program they will make.

View 2 Replies


ADVERTISEMENT

Secure User Sessions In ASP .net Using VB?

Oct 5, 2009

procedure to create multiple secure user sessions in ASP.net.

View 1 Replies

Create User Which Can't Login To Console But Which Can Access Secure Folders From Remote?

Jun 14, 2009

I think it should be something related with "Local Security Policy".

View 1 Replies

Folder Selection - Enable The User The Ability To Select A Folder And The Folders Music Files Populate A List Box

Jan 6, 2009

Basically I am trying to enable the user the ability to select a folder and the folders music files populate a list box. I want two list boxes on the page, one with all the contents of the folder and then the other one for files selected from the first box. I have no clue on how to do this at all...

View 4 Replies

AutoLoad - User Load Application Will Automatically (without Prompt, Or User Selecting) Upload All Files In A Folder

Jun 13, 2010

How can I do it so every time the user loads my application it will automatically (without prompt, or user selecting) upload all the files in a folder i select beforehand and add them into ListBox1

View 16 Replies

User Specified Folder Name Vs Folder Dialog

Mar 18, 2009

In my application, user can select a folder via folder browser dialog box.

However, I want them the freedom to type folder name manually as well.

When they select folder path via folder browser dialog box, everything runs fine.

However, VB is not accepting user typed folder path eg. "C:Appjob"

View 7 Replies

Allow The User To Create A New Folder?

Jul 14, 2011

How can I allow the user to create a new folder and tell it where to be saved? I was thinking of using the savedialog but I don't know how to use it for folders instead of files.

View 3 Replies

Ask User Where They Want To Create Folder

Apr 5, 2009

I have a sub in my app that creates a folder called logs. I'd like to ask the user where they want to create the folder (explorer?) maybe even let them name it whatever they want. Also there will be text files created in that folder, so they will have to be saved in whatever folder the user creates.

Here's the sub.
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnServerDiagnostics.Click
Using p1 As New Process
p1.StartInfo.UseShellExecute = False
p1.StartInfo.CreateNoWindow = True
[Code] .....

View 8 Replies

Close A Folder Opened By User?

Oct 8, 2009

i am stucked with a procedure in my app. this procedure do monitor application.startuppath folder. if this folder is opened by user my application should close it.i have tried it to be done with system.Diagnostics.process. but wont be able to make it possible.

View 9 Replies

Create A Folder At User Specified Location?

Jun 24, 2009

I have am Explorer form and I want to be able to use a treeviewNode and all of its contents to create a windows folder structure.Each Treeviewnodes would be used to create a folder.

The problem I have is that I am using a SaveFileDialog Form to allow the user to specify where the Folder structure should be created and it only accepts a file as input or end point.

How can I get the SaveFileDialog form to accept a folder, e.g the desktop, without specifying a document in the folder?

View 1 Replies

Discover The User's Desktop Folder?

Jun 24, 2011

I'm making a little application in visual studio which loads a ROM in an emulator. I have two emulators and 20 ROMs.I made a form and added a few buttons. When you click the Button it opens a new form and closes the old one. Then on the new form I have four buttons: each one loads a different ROM in an emulator. So when you press Button1 this code is triggered:

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles yellow.Click
Shell("C:UsersshiftyDesktoppokemon gamesEmulatorVBAVisualBoyAdvance.exe ""C:UsersshiftyDesktoppokemon gamesRomsYellowPokemon Yellow.gb""", vbNormalFocus)
End Sub

It works fine - I click it and it loads the game in the emulator. The bit im having trouble with is the file paths. If I send this application to a friend, it would still look for "C:UsersshiftyDesktop" - but that's on my computer, not his.Is there a way to make the application look for the file on his computer (without changing the file path to (C:Users""his user name""Desktop))

View 4 Replies

Folder For PC Wide User Data?

May 23, 2009

I'm looking for a windows "special folder" where user data can be stored and changed PC wide, not only per user.Up to now I've picked the so called COMMONAPPDATAFOLDER, but that doesn't work with a setup project, because the files copied there on installation (like a config file) are not changeable in Vista with a program used by a restricted user (probably because the Windows Installer performs with admin credencials).

View 2 Replies

Get Current User Profile Folder?

Jun 7, 2011

I've been searching for a while, but it seems that I can't find an easy way to get the current user profile folder. I've tried "%userprofile%" environment variable, but it didn't worked (or I'm doing something wrong).How can I do it? I want to add the value to an string variable.

I actually tried something like: Dim Userfolder As String = %UserProfile%

I tried with quote marks too, but none seems to do the trick.What I'm missing?

View 3 Replies

Get Path To Profile Folder For User?

Jun 24, 2009

I need to find out the path to the logged in users profile folder in VB.NET.

I know there is one to get the AppData folder but I need only the profile path becuase there is a file I need to read in the root of the profile folder.

View 3 Replies

VS 2008 Getting Current User Folder?

Nov 6, 2009

How would I get the current user's folder?Example:"C:Documents and SettingsOwner"

View 1 Replies

Lets A User Browse And Choose A Folder?

Nov 8, 2011

Basically I need to make a program that lets a user browse and choose a folder, then I need a box that the user can then select the files to work with, then with the selected files I need to put them into a zip file. I'm trying to use a list view box but having all kinds of problems using the data in it.

View 2 Replies

Access Denied To User Folder In Windows7?

Jan 26, 2010

I am the owner of the directory I am running an executable in VS and I have the following error: 'Access to the path "'c:usersenee' is denied.' The OS is Windows 7 and I have the UAC turned off.

View 3 Replies

Assessing NTFS User Folder Permissions?

Jul 9, 2009

Assessing NTFS user folder permissions

View 4 Replies

Displays A Message To The User That The Folder Is Above Size?

Apr 12, 2010

create some code that detects if a selected folder is over 4GB, if it is, then the code displays a message to the user that the folder is above this size?

View 4 Replies

Restrict A User Not To Open A Folder Using Program?

Dec 12, 2009

Is it possible to restrict a user from opening a sub folder like "permission denied" message should display while trying to open the folder. If yes, help me to solve this using vb.net in winform as well as using vb.net in asp.net

View 3 Replies

VS 2008 Save/get A File In User Folder?

Jun 8, 2010

How to get the User (Username) folder? I mean C:/Users/Username, D:/Users/Username or C:/Documents and Settings/Username ...Don't remeber exactly

View 2 Replies

Copy An Entire Folder To User Selected Location?

Aug 11, 2011

I am trying to copy an entire folder and all of its contents that is in the same location as my program that is running to a user selected location. I started off by using a SaveFileDialog, but now I am working with a FolderBrowserDialog. Here is some code:

Private Sub BackupButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BackupButton.Click
Dim sourcePath As String

[Code]....

But when I run the program, it works, but it does not copy the entire folder in the application startup location.. how I can copy that folder that is in the same location as my program to a user selected location?

View 14 Replies

DialogBox - Enable User To Choose Folder Name And Save It

Jan 28, 2010

I want to have a dialog box like SaveFileDialog that will enable the user to choose a folder name and the save it. How I can achieve this?

View 5 Replies

How To Create A Browsefolderdialog - Popup To The User And Let Them Choose A Folder

Aug 19, 2010

I am going to show you how to create a browsefolderdialog. All this does it popup to the user and let them choose a folder.

For this you need:
1 Button
1 Textbox

Double click your button and add in the

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Dim BrowseFolder As New FolderBrowserDialog

[CODE]........

This sets your textbox1.text to what ever folder is selected. After that you can do whatever you want with your selected folder. This is how it will work when you are done: [URL]

View 3 Replies

OpenFileDialog - Did Not Take The User To The Contents Of Sample Pictures Folder

Apr 13, 2010

i did this code:

[Code]...

but this also did not take the user to the contents of Sample Pictures folder (i.e,the pictures present in that folder) when he clicks the button.

View 9 Replies

VS 2008 - How To Get OLEDB Connection String To User Folder

Jul 17, 2009

I have a script that checks a version table from one mdb (server) and compares it to the same table in another mdb (user folder), if the version number is mismatched it needs to replace that file from the server, to the user folder. The problem is, how to get the OLEDB connection to the user folder since, the folder destination is
E:Configurator & UserName & Detail2004.mdb
How to set this up?

Here is my code:
Dim UserName As String = Environment.UserName.Substring(Environment.UserName.LastIndexOf("") + 1)
Dim connectionString2 As String = "Provider=Microsoft.Jet.OLEDB.4.0;" + "Data Source=C:Configurator" & UserName & "Detail2004.mdb"
Dim con2 As New Data.OleDb.OleDbConnection(connectionString2)
Dim cmd2 As Data.OleDb.OleDbCommand

View 1 Replies

VS 2008 - Unprivileged User Create Folder In AppData

Jan 3, 2011

I am creating a VB .NET app that uses the user's Application Data to store data. Can an unprivileged user create a folder in the top level of their Application Data directory? I am trying to create the app's folder if it doesn't already exist for that user.

View 3 Replies

VS 2008 : Create And Make A Folder Hidden From User?

Oct 20, 2009

How would i create and make a folder hidden from user?

View 3 Replies

How To Restrict User To Login If It Select The Page From Particular Directory / Folder

Feb 4, 2011

I have folder in my asp.net website i have following pages inside admin folder login.aspx, home.aspx, welcome.aspx..i want if user directly open page welcome.aspx or anyother page inside admin folder then it automatically redirect to login.aspx till they login using admin id and pass.how to do this setting in web.config...using authorization vb.net

View 1 Replies

.net - How To Check If User Has Full Control Permissions On A Shared Folder

Oct 25, 2011

I use the following code in order to check if certin user exists in the DACL:

Dim l_managemantObject As ManagementBaseObject() = CType(securityDescriptor.Properties("DACL").Value, ManagementBaseObject())
For Each mObject As ManagementBaseObject In l_managemantObject
l_name = CType(mObject.GetPropertyValue("Trustee"), ManagementBaseObject).Properties("Name").Value.ToString
If CType(mObject.GetPropertyValue("Trustee"), ManagementBaseObject).Properties("Domain").Value IsNot Nothing Then

[Code]...

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved