Security :: Get Folder (directory) Size Of Remote Serve R(W2k3) With Credentials?

Oct 7, 2010

I'm trying to calculate folder size of remote server.I have credentials of server.By using WMI,I could fetch the existing Logical drives in remote server. But,couldn't get Folder name or details..Here,my folder is not shared one..I like to get WMI solution for it..if it not possible,atleast any dos commands to get file size of remote machine like this, \ServerIP:username@password\foldername -dir/s . .

View 2 Replies


Similar Messages:

Security :: Communicating With Active Directory Without Providing Credentials

Jul 2, 2010

I need to do the following
1. Authenticate from Active Directory
2. Get Email List of all users from active directory

I have user credentials when system authenticates user but later on when I need to get the list of email from active directory I don't have user credentials for creating Directory Entry. I don't want to store credetials in Sessionstate or something and I don't want to use Admin Account. Plz suggest some solution so that I can connect to active directory for getting other information after authentication.

View 1 Replies

Security :: Pass Virtual Directory Credentials Through Application?

Aug 31, 2010

We have created a website and for the secured files created a virtual directory and in virtual directory properties we selected Application-user(pass through authentication).If any user directly browse the files link then the browser prompts a screen for virtual directory credentials.Here my requirement is i need to send the virtual directory credentials through the application.

View 4 Replies

Security :: Can't Create Directory On Remote Server

Feb 2, 2010

I can't seem to create a directory on a remote server even though I have given permissions for the asp.net application for all users. I gave full control to the Asp.net user, local computer user, administrators, Network Service, etc and I don't know what else to try. My code is below:

[Code]....

View 9 Replies

Security :: Folder Is Not Creating On Remote Machine?

Mar 26, 2010

I am creating a folder on remote machine,for that folder i gave acces permissions. even though when i submit my form it is giving below error.

No accessible overloaded 'SqlCommand.Transaction' is most specific for these arguments: Public Sub set_Transaction(value As System.Data.SqlClient.SqlTransaction) Public Sub set_Transaction(value As System.Data.Common.DbTransaction)

View 2 Replies

Security :: LDAP Throws Invalid Credentials With Valid Credentials Supplied?

Feb 1, 2011

I'm working on an ASP.NET project for the first time in about three years; in the meantime I've been working with Python/Django, PHP and Obj-C. Anyways, picked it right back up... except something that is totally killing me right now, and I have a feeling it must be staring me in the face:

I'm trying to bind to an LDAP server, for the purpose of authenticating users. The way it works here is, you bind on your own credentials, use that to find the Distinguished Name of the user you're authenticating, then you bind again on their DN and their password. If the bind is successful, the password was correct and the user can be authenticated.

Here's the problem - the first bind (on the fixed credentials, the ones with the ability to search for users and their subtrees) works fine. The search works fine. The second bind fails, no matter what, with the LDAP error INVALID_CREDENTIALS. This happens even when completely valid credentials are supplied.

Here's the code, with the usernames and passwords redacted, of course...

[Code]....

View 1 Replies

Security :: Block Access To Folder (directory) With Authentication Mode = None?

Aug 14, 2010

I have a problem in my asp application. In my application I have an own authentication mechanism so in the web.config file I have <authentication mode="None"/>

Inside the application users can upload files to the folder I've created (App_Files). I would like to give access to the folder only once they are logged in (Session["Login"] is no null).

I dont want not logged in users to be able to access the files over a url address in the browser (like http://<server>/App_Files/Filename.pdf)

View 7 Replies

Custom VirtualPathProvider - Unable To Serve URLs Ending With A Directory

Jan 20, 2010

As part of a CMS, I have created a custom VirtualPathProvider which is designed to serve a single file in place of an actual file structure. I have it set up such that if a file actually exists on the server, that file will be served. If the file does not exist, the virtual content stored for that address will be served instead. This is similar to the concept of serving a website from files stored in a database, though in this case the content is stored in XML files on the server.

This setup works perfectly when a request is made to a specific page. For example, if I ask for "www.mysite.com/foobar.aspx", the content that is stored for "foobar.aspx" will be served. Further, if I ask for "www.mysite.com/subdir/foobar.aspx", the appropriate content will also be served.

The problem is this: If I ask for something like "www.mysite.com/foobar", things begin to fall apart. If the directory exists on disk (and doesn't have a configured default page in IIS, such as index.aspx), I will get a "Directory Listing Denied" error. If the directory does not exist, I'll simply get a 404 - Resource Not Found.

I've tried several things, and so far nothing I've done has made a bit of difference. It seems as though IIS is simply noting the nonexistence of a directory (or default file in an existing directory) and serving up its own error code, without ever asking my application what to do with the request. If it ever did get to the application, I would be able to solve the problem, but as it stands, I'm quite lost. Does anyone know if there is some setting in IIS that is causing this?

I've looked for every resource I can find on the subject, and am coming up empty. I know this should be possible, because I have read tutorials on serving content from both databases and ZIP files.

p.s., I am running IIS6 and .NET 3.5

View 1 Replies

Web Forms :: Using HttpWebRequest To Post Credentials To A Remote Website?

Aug 30, 2010

I have a php website with a login page containing username and password fields with the same exact html names. I would like to have a page in my ASP.NET page with a username and a password textbox field that sends the corresponding credentials to the php website using HttpWebRequest. How would I do that and how could I check the response to see if the authentication has been successful?

View 1 Replies

AJAX :: Display Directory (Folder) Structure For Folder Outside Project In TreeView Control

Nov 22, 2015

[URL] ....

In above link you clearly describe (How to display directory folder structure).  

The path only works when the folder insight the project.

When I put folder outside the project it didn't work. What type of changes I need to made to acces the folder outside the poject. & How can I show other details of files which are including in folders Like. Last Modified Created Date, Modified Date etc..

View 1 Replies

VS 2008 - Sending Windows Credentials From Active Directory To Web App

Jan 13, 2012

I've been asked to program a web app for a client's intranet. They want the web app to users in using their Windows credentials. So far in my online research, I've been finding that Active Directories is what I need to access, and that the System.DirectoryServices library provides the tools for doing so. Unfortunately, it seems that one can't get the password from the AD through this route (or through any route). But a coworker of mine tells me there is a way to get AD to pass on the user's Windows credentials (which includes username and password) directly to the web app (so that no one but the web app itself can see it), and that the web app can use those credentials to automatically log the user in.

View 4 Replies

Security :: Caps Lock Is Off When Enter User Name It Prints In Capital Letters But Size Is Small size?

Oct 20, 2010

In login.aspx I have used login control to enter user name and password, the problem is: even my caps lock is off when I enter user name it prints in capital letters but size is small size (when I copy and paste in note pad or msword it paste in small letters not in capital letters), when I turn on my caps lock on and type - it prints in bigger size as if I am typing in capital letters.

ex: 1. temp is my user name if my caps lock is off it shows like this TEMP (but size in smaller than 2nd one)

2. if my caps lock is on is shows like this as if I am typing capital letters TEMP

what do you think the problem is how can I fix it

View 3 Replies

JQuery :: Load Pictures From Remote Server Based On Size?

Nov 24, 2010

i have an array of sraped picture urls (So the pictures are still on the remove server). What i would like to do is check the dimensions of every picture and load only bigger ones (certain width/height) in the browser.

View 3 Replies

Access A Remote Directory From C#?

Mar 25, 2011

I am trying to access a remote network share from a C# program in asp.net. What I need is something like

function download(dirname)
{
directory = (This is the part I don't know how to do)

[code]...

View 3 Replies

Create Virtual Directory On Remote Machine?

Jan 10, 2011

I am able to create Virtual Directory on local machine, but I want to create it on a remote machine.

View 2 Replies

Web Forms :: Reading The Contents Of Remote Folder?

Mar 8, 2011

I want to read the contents of a remote folder(s) but i only know the date part of the folder name, the other part of the folder name is a timestamp that is different everytime. I'm thinking that i need to do something with the last modified/created date attribute to get the correct folder but i am unsure on how to do this.

View 1 Replies

Web Forms :: Working With Folder On Remote Server?

Jan 1, 2011

I am working on a web application that resides on one server on a particular domain. The application needs to access files on another server controlled by a different domain. Is there some way I can access these files on the remote server? I have all logon credentials and authorized access, but I simply need to set the servers up to allow this.

View 1 Replies

Web Forms :: Passing Credentials To IIS "Integrated Windows Authentication" Protected Directory

Sep 8, 2010

I have set up a directory on my IIS web server that is protected by "Integrated Windows authentication". I want visitors to be required to enter a name and password to view files in the protected directory except if they are following a link to files in the protected directory from a certain page on my website.

I am doing this to try to get better protection from search engine spidering than is provided by using a robots.text file.

I am using ASP.NET 3.5 with VB. I am wondering if there is a way to pass the log on credentials to the IIS server via a link, or if there is a way to fill in the name and password for the login screen automatically, or something else that would work. It is OK if the login name and password are visible to the visitors.

View 3 Replies

Download File From Shared Folder On Remote Server

Feb 1, 2010

On remote server i have shared folder. If there any way to download file from this shared folder on local machine? Without using ftp. Server dont have iis or something like this,just have shared folder.

View 1 Replies

Security :: How To Set 3 Credentials For Login

Jun 22, 2010

I have to post my request to the web page [URL] and this require 3 credentials namely account id ,username and password and i have to pass the some data for the fields in the page

View 3 Replies

Security :: Credentials On A Web Page?

Feb 4, 2010

I am using windows authentication for security in my webpage. Now i want is that if user opens a webpage and then sit idle for 15 minutes and after that try to use webpage , i can ask him for credentials.

View 3 Replies

Typical File Size Of Temporary Files, Folder?

Jul 23, 2010

I know this is a bit like how long is a piece of string question, but I'm wondering how big some peoples ASP.NET Temporary Files folder, gets. I wish to move this folder to a RAM DISK so I'm trying to see how big this should be set, to.

eg. <compilation tempDirectory="R:ASP.Net Temporary Folder" debug="false">

This is only for my DEVELOPMENT Machine (to help speed up compiling -> temp crap goes to ram instead of the Disk).

Is 256MB big enough? What about file uploading? where do those files (temporarily) go?

View 1 Replies

Web Forms :: Size Of Folder Affect The Performance Of Application?

Mar 17, 2010

I am developing a site similar to forums. I allow users to Post articles and upload files regarding the articles. I am not storing the Attachments contents in DB instead i store only the path of the attachment file and store the actual file in physical folder in the Project directory. WHat i want to knw is if the size of the physical folder increase will it affect the performance of my application.

View 6 Replies

Security :: How To Provide Credentials To A Web Service

Apr 12, 2010

have been facing a problem in passing credentials to a web service. I have searched a lot on it and found solution but they didn't work for me coz the scenario with me little different I believe.The situation is like this. I have a 3rd party web service "https://3rdpartyserver/virtualdirectroy/service/service.aspx".So when I try to browse the service in IE it takes me to the login page ("https://3rdpartyserver/virtualdirectroy/Loginpage.aspx"), when I enter usename and password in it and hit Log In button it takes me to the service where all the web methods are listed

View 3 Replies

Security :: Specify Credentials To Test A Web Page ?

Feb 8, 2010

Is there any way,in Visual Studio,to specify credentials to test a web page with rather than having to go through the process of logging in every time?is there some common technique to testing with different roles and logins?It's just really tedious to constantly have to login and navigate to a specific page to test.

View 2 Replies







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