Can Zippackage Class Be Used To Find Content Inside A Password Protected Zip File
May 18, 2010can Zippackage class be used to find content inside a password protected zip file, if not can it be done without using any 3rd party api.
View 2 Repliescan Zippackage class be used to find content inside a password protected zip file, if not can it be done without using any 3rd party api.
View 2 Replieshow to use zippackage class to know about the content in .zip file?for ex to know the type of file inside this zip file.
View 1 RepliesAm trying to open a .pps/.ppt file through my vb.net code.....due to secure reasons this file is password protected,
However i will not like the end user to put a password when accessing through my application.
Hence i want to pass a password as a parameter while open such a password protected file.
Here is my code.
Reference URL: http://support.microsoft.com/kb/303717/EN-US/
Dim oApp As Microsoft.Office.Interop.PowerPoint.Application
Dim oPres As Microsoft.Office.Interop.PowerPoint.Presentation
Dim objpresset As Microsoft.Office.Interop.PowerPoint.Presentations
oPres = objpresset.Open(filename, Microsoft.Office.Core.MsoTriState.msoCTrue, Microsoft.Office.Core.MsoTriState.msoCTrue, Microsoft.Office.Core.MsoTriState.msoCTrue)
Where can i provide password while opening a ppt file...
With the System.IO.Compression i am able to convert a file to zip but how to make it password protected. I dont want to use any third-party library or dll. Is it possible to make a file password protected within c#. do not provide the link that doesn't meet above scenario.
View 3 Replieshow to unzip a password protected file using dotnetzip or sharpziplib (if the password is not known).
View 3 Repliesi have table data which i am currently writing to an excel file, but i need to be able to securely password protect the file. Ive been told excel passwords are easy to break, so is there another file type which i can dynamically write to and password protect for emailing elsewhere (and requiring receiver to type password in to access it)?
View 2 RepliesIs there a way to pass a reference of a page to a helper class? Scenario: [ASP.NET 2.0 Web Application] The page is a content page which has a MasterPage. The page calls a method in the helper class and passes the page byRef as an argument. The method in the helper class tries to find a control on the passed in page and set values. Problem: Only the MasterPage is being exposed and not the page I am trying to pass. Any recommendations on passing the page so that I can set the values of the controls within it?
View 5 RepliesI have a website that has anonymous authentication enabled. Now for a particular folder I want the users to be logged in with a userid and password. The user id and password is going to be same for everyone.
Eg user id is TEST and Password is answer. How can I do that?
I went in to that folder ->properties->directory security->edit-> And I disabled the anonymous access
But where should I add the User Id and Password? Under which option.
I'm running IIS 6 with ASP.NET 2.0.I enabled windows authentication for a folder in a website and gave permissions to a user. When I navigate to the page, the passowrd prompt pops up as expected and when entered correctly, the page loads. The page contains a file upload control. When I try to upload a file, the password prompt keeps popping up. ultimately it ends up as a 401 error. The user account does have write permissions to the floder, so I'm not understanding why I can get to the page with the credentials, but can't upload anything to that folder.
View 3 RepliesHow to open Password Protected Pdf file directly in adobe reader when password is provided through code.
View 1 Replieshow can we attached secure PDF to mail in asp.net ...(Means when we attache any pdf to mail after getting mail at d opening of pdf it should ask password..)
View 1 RepliesI want to make my web.config password protected so that external users do not open it. But my application should be able to access. Is there any way to do this?
View 2 RepliesHow to export password protected pdf file from crystal report
View 1 RepliesI'm looking to deploy a web app and I have a simple question about the <location> tag of the web.config file. For the moment, I want all the pages to be password protected and I've created a simple login page with the login object. I've put all my .aspx file in a directory called AppMyPages and I've put this in the config file:
<location path="AppMyPages">
<system.web>
<authorization>
<allow roles="tester" />
[code]...
I have completed sending attachment/pdf with email.
I have to send password protected attachment/pdf while sending email so that reciepeint should be asked to enter password while opening attachment/pdf and he will open attachment/pdf only after entering password.
I'd like my application to query a csv file from a secure website. Currently I have the user login to the site, manually query the csv, and have my application load the file locally. I'd like to automate this by having the user enter his login information, authenticating him on the website, and querying the data. The application is written in C# .NET. The url of the site is: https://www2.emidas.com/default.asp.
I've tested the following code already and am able to access the file once the user has already authenticated himself and created a manual query.
System.Net.WebClient Client = new WebClient();
Stream strm = Client.OpenRead("https://www3.emidas.com/users/<username>/file.csv");
Here is the request sent to the site for authentication. I've angle bracketed the real userid and password.
POST /pwdVal.asp HTTP/1.1
Accept: image/jpeg, application/x-ms-application, image/gif, application/xaml+xml, image/pjpeg, application/x-ms-xbap, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; Tablet PC 2.0; OfficeLiveConnector.1.4; OfficeLivePatch.1.3; .NET4.0C; .NET4.0E)
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
Cookie: ASPSESSIONID<unsure if this data contained password info so removed>; ClientId=<username>
Host: www3.emidas.com
Content-Length: 36
Connection: Keep-Alive
Cache-Control: no-cache
Accept-Language: en-US
client_id=<username>&password=<password>
I would like to connect to a password protected shared location that has an access database using an ASP page. I have the user name and password needed to connect to the shared location but I am not sure how to set up the connection string in order to get this done. The access database I would like to connect to does not need a username or password, only the shared location does.
View 1 RepliesHere My Requirement is that i need to download a Secured PDF Files(Password Protected) from the server without entering the password manually...
I want to do it using my program..
I'm programatically looking ito a .aspx file and getting the file class name declared in its CodeBehind. For example, when analyzing myFile.aspx I read in its Page Directive and found its CodeBehind equals "myApplicationmyPage.aspx.vb". Then I use the code
below:
[Code]....
Now I want to read the BaseFile (class = myApplication.Forms.BasePage). However, to read in this file, I need I need to get its full path instead of its namespace.class hiearchy. In this case, the BasePage is wrapped in a different namespace declaration thus I cannot just change the '.' to '' in order to get the path.How can I get the path of BasePage so I can read it?
i just want simple mechanism to make images update at my website copyright protected, so i want to protect them witht the password. any of the techinque will do , i just want the iamges to be password protected so that i can dignose whether the uploaded image is not from my site.
View 3 RepliesOn masterPage i have button btnTest, how hide button from masterPage on userControl.ascx
example:
btnSecondPage_click
{
btnTest.visible = false;
}
In ASP.NET, if a file was downloaded on a page that was protected by SSL, through a server-side postback that writes to HttpContext.Current.Response.OutputStream, is the transmission that file ALSO protected by SSL?
View 1 RepliesThere are some folders in my application that are only accessible by users in certain roles.In order to protect the contents of these folders, I placed web.config files in them which look like so:
[Code...]
Also,in the main web.config file, I have this configured:
[Code...]
However,when I try to access a folder that I'm not authorized to access, I'm not being redirected to unauthorized.aspx page as indicated in the main web.config. Instead,I'm getting sent to the login page.Any idea what I'm doing wrong? Here's the authentication section from the main web.config:
[Code...]
I want to protect a directory in my web hosting and I want to know how can I login in this directory with my program to access to a file. I try to navigate to this file but the webbrowser show error 404.
View 6 RepliesHello all i have this little issue getting this to work, i have a dropdownlist in asp.net inside a formview and jquery cant find the control im guessing because its inside a form, this is what i got and it works on another page without a formviewi get this errorName 'Country' is not declared
[Code]....