wkhtmltopdf and forms based authentication
I have an application that uses forms based authentication. I'm trying to take a copy of a page within the application and save it to PDF using wkhtmltopdf.
wkhtmltopdf is installed and works fine. I can call it successfully from within the application to generate a PDF of another website without authentication (i.e. bbc.co.uk).
I cannot get it to pass username/password to the application in order to generate a copy of the desired page. Instead I get a PDF of the signon screen.
Both client and server are Windows (7 and 2008 respectively). I'm using the command:
wkhtmltopdf.exe --post userid=xxx --post pwd=yyy --ignore-load-errors http://url.com/blah/blah/ test.pdf
Where xxx is my username and yyy is my password. I've been through the source of the logon page and the ids of the form fields are userid and pwd so I believe I have the post parameters in command line correct.
After thoroughly googling I can see mentions to a --cookie-jar parameter, but haven't managed to work out its usage, or even if it'll help.
I have tried in all ways to get wkhtmltopdf installed on our web server but unfortunately it is not getting installed. I cannot access user/bin folder as stated in a tutorial on installation. On the s
With a SharePoint site which is partially anonymous and partially behind a forms authentication login, how do you manage the security of it? I've got a site set up with the CMS portal (which uses Wind
I'm architecting a public web API for my service. It will be equally consumed by web pages and native mobile apps (iOS, Android and Windows 8). Should I use cookie-based authentication? I mean, is th
Looking for sites which offer templates for creating styled table-based web page forms. Similar to css-based forms at: http://www.smashingmagazine.com/2006/11/11/css-based-forms-modern-solutions/ (pl
When using forms based authentication in Sharepoint 2010, suppose user is logged in with username admin and our custom membership provider name is FBAProvider... After logging in with this account
here is our problem.. We have built an MVC Web-api that uses Forms authentication with cookies to handle sessions. When we use our front-end webpage on the same domain (localhost or web-server) as the
I've been programming for a long time now, but I'm not the world's most experienced.Net developer. I recently picked up a project that is using Forms authentication for their website. I first looked a
I was wondering if you could protect xml files through forms authentication in ASP.NET 3.5. I have some licensekeys that are found online, but you shouldn't be able to download them unless you are log
I have ASP.NET MVC app that uses Forms Authentication. After user is authenticated, in response he will receive forms cookie that contains auth information. Now regarding the forms cookie: It is encry
Imagine that you have a simple site with only 2 pages: login.aspx and secret.aspx. Your site is secured using nothing but ASP.net forms authentication and an ASP.net Login server control on login.aspx
I am trying to use the ASP.NET forms authentication service with the MySQL connector version 6.3.2. I was able to get it working using cleartext passwords but unable to get hashed passwords working. H
I have a website with some areas that require a login via forms-based authentication, using my own provider that connects to the database. The website is in preview so I want to protect the entire sit
Anyone has a clue how to turn off forms authentication using Microsoft.Web.Administration and C#?
If I want to create a customized ASP.Net MVC3 form based authentication, what are the interfaces I should implement? I want to do the role based form authentication.
I have an ASP.NET site on a public web server, where users login using forms authentication. I would like users within certain organisations to be able to login automatically through Windows authentic
I'm working on an ASP.NET Web Forms application and where I've a folder called Account at the root. Which contain mainly three ASPX pages: Login.aspx, ChangePassword.aspx, ForgotPassword.aspx. I've co
I have a Workflow Service serving XAMLX workflows. I want to enable Forms Authentication on it so I can authenticate to it and have access to the Context.Current.Identity.Name to get the name of the u
I am trying to perform the programmatic form based authentication and it seems that My web.xml: <web-app> <context-param> <param-name>javax.faces.PROJECT_STAGE</param-name> &
I have a WebApplicatoon which some of my customers would like to use within an IFrame. However because saving cookies within IFrame's in Internet Explorer is not supported my Forms authentication does
I'm implementing simple authentication on an asp.net web site. Using the basic forms authentication is almost perfect: I set the auth mode to Forms and have a short credentials section in web.config,
I'm working with webApi and trying to implement forms auth. My application is using simpleMembership. For some reason my controllers are reverting to my windows credentials to check and see if a reque
I read of a similar issue at Problem with Asp.Net Forms Authentication when using iPhone UIWebView where using a UIWebView is not recognized by asp.net 4 browser capabilities. My web site is not funct
With wkhtmltopdf, is there any way to vary the content of the footer based on the content present on the page? Each page's footer needs to have the title of the section it's in rather than a universal
I have an ASP.NET web application that uses Forms Authentication. In the web.config, the forms authentication timeout value is set to 20 (which I understand to be 20 minutes). We're seeing an issue
Whats the best way to create a custom ASP.NET forms authentication ticket with a specified timeout? The timeout value is coming from a database not the web.config. Thanks
What design pattern should I use to handle both forms authentication and active directory? (Administrative setting will allow you to chose either one of them). From what I know, .NET membership provid
I'm trying to get forms authentication working for an mvc site. I have a custom database with a users table, and I would like to do my own password validation. I am logging in my user like this: if (P
While looking into forms authorizing/authentication, I found that it is possible to do role based authorizing by adding an array of roles to a FormsAuthenticationTicket. That way I can write User.IsI
I have been a developer in the services world for using either basic authentication (in combination use with SSL for securing the transport) or of using claims based authentication (in .NET using WIF)
For my application we have not mentioned any explicit timeout and forms authentication cookie is set by default with expiration time 30 min and Sliding Expiration true. I came to know that the sliding
Guys I am trying to use MSCaptcha in asp.net website. It is working perfectly but as soon as I add Forms authentication in web.config, the captcha image is not displayed. Web.config before authenticat
I have a ASP.NET MVC site that is locked down using Forms Authentication. The web.config has <authentication mode=Forms> <forms defaultUrl=~/Account/LogOn loginUrl=~/Account/LogOn time
I'm working on an ASP.NET MVC app running on our intranet. We are using forms authentication, however the usernames set up will be the same as the Active Directory usernames. I'm trying to find a way
I have the following ASP.NET Forms Authentication configuration: <system.web> <authentication mode=Forms> <forms name=MembershipCookie loginUrl=Login.aspx protection=All timeout
I have code that i am looking through regarding session time outs of the website. In the web.config i came across this code. <authentication mode=Forms> <forms loginUrl=~/Auth/SignOn.aspx
Setup: Multiple web servers with synchronized forms authentication. Multiple asp.net Applications running on these severs. What's working: SSO across all servers Authorization using asp.net roles
I'm using forms authentication on my mvc project, and it seems that no matter what I do. You can only stay logged in for one day then it requires you to log in again. In my web.config, I set the timeo
Does anyone know why ASP.NET Forms Authentication does not work on windows safari, or better yet, how to get it to work? It seems like a very weird issue. When I use a login control (System.Web.UI.Web
If I wanted to make sure that AUTHENTICATED users were denied access to Enroll.aspx and UNAUTHENTICATED users had access how should my allow/deny users tags be set in the web.config? <location pa
I'm trying to develop SSO authentication between 2 web applications, application A and application B. Application A is MVC 4 application and application B is MVC 3 application. What should happen is:
I've been asked to convert an asp.net application from forms authentication with roles using the aspnetdb database to use windows authentication instead. what is required to do this? can I still use t
Did anybody ever installed wkhtmltopdf on Fedora 14? On http://code.google.com/p/wkhtmltopdf/wiki/compilation there is a step by step for Debian. In the comments, there is also something similar to C
Recently I noticed issues with the login process of a website I maintain. When logging into the site with IE8 the .authuser cookie set by forms authentication shifts UIDs. This does not happen in any
I am using ASP.Net Forms Authentication. My Web.config looks like this. <authentication mode=Forms> <forms loginUrl=login.aspx/> </authentication> <authorization> <deny
I have setup a SharePoint site with forms authentication and My Sites. The users username displays correctly on the main site collection, however whent he user creates a My Site the user is always ref
I am developing an ASP.NET MVC4 social networking application which will be having 5 types of users namely student, administrator, supervisor, providers, etc. I want to use forms authentication as it