Use L Ftp Or Https / Change The Protocal?
Dec 15, 2010Actuall .net web application run through http protocal.suppose if we want use like Ftp or https means how can we set that protocal?
View 2 RepliesActuall .net web application run through http protocal.suppose if we want use like Ftp or https means how can we set that protocal?
View 2 RepliesBoss want me to change all applications from http:// to https:// to make sites more secure.What steps should I take?
View 4 Replieshow can i change HTTP to HTTPS.
View 1 RepliesI have an application developed on MVC2 but I need it to change from HTTP to HTTPS after authentication. How do I manage that and where do I have to put the code?
View 1 RepliesI am planning my web url secured by changing it HTTPS. For this i went to IIS and created a CCR and i went to one of the site and i pasted this to generate a free certificate. But it is showing domain already existing. how to create a certificate and to change the link from HTTP to HTTPS.
View 5 RepliesI'm pretty new at configuring IIS and working with SSL. I've been having difficulty with switching from the HTTPs protocol to the HTTP protocol. I had set a small part of our website to the HTTPS protocol since it has an SSL certificate for online commmerce.
When users go through that part of the site the HTPPS protocol is set and runs fine, but when they try to leave by, say, clicking on a link to another part of the site (after they have visited the secured portion of the site) the HTTPS stays in the url. Is there something I'm doing wrong?
This is how the HTTPS is set on the site: this code is placed in an sslredirect.asp page located in a "SSL" folder:
<%
Response.Buffer = True
If (Request.ServerVariables("HTTPS") = "off") Then
sQ = Request.ServerVariables("QUERY_STRING")
sURL = "https" & Right(sQ, (Len(sQ)-8))
sURL = Replace(sURL, ":80", "")
Response.redirect(sURL)
End if
%>
We have an application built on ASP.NET MVC 1.0 which, once deployed, should be accessed with HTTPS. I tried few approaches for HTTPS but I have a few questions.:My home page does not need to be Secured (HTTPS), but rest of the hyperlinks following it will be Secured.I read about the action method attribute [requiresHTTPS] however I want to understand what happens to that tag during development on local machine. In a development enviroment, how do I install a certificate on a dev machine/virtual directory to code and test my changes.So this application is complex in nature and we have around 13 controllers and 50 action methods. This application will have information like Credit card numbers since we do accept payment through this website.
View 1 RepliesI am using a Self signed certificate for HTTPS. I have it ready. what should be changed in IIS and also what should be changed in the code for https to come into affect. I need https for some pages(not all).
View 2 RepliesI am creating a website in Visual Studio 2010 for ASP.NET 4.0 written in C#.
I have a Global.asax file with a method to force specific pages or directories to use https. Then in the web.config file, I define which pages and directories should use https.
The problem I am running into is content not coming over as https even though the URL is https, so IE gives a security warning. We do have a valid cert on the domain. The security warning pop up says, "Do you want to view only the webpage content that was delivered securely? This webpage contains content that will not be delivered using a secure HTTPS connection, which could compromise the security of the entire webpage." If users choose Yes, then parts of the applications do not work.
Is there a way that I can force the content (images, JavaScript files included in the page, etc) to come over as https? All the files are on the web server, so I am not trying to include outside resources (like not displaying a video or image from another site, it is all on my site's web server). I want to avoid absolute URLs in my code because some of the applications are complex and I cannot find all the places where resources are being called.
I want to redirect http to https. I tried this one,but I have one problem, I have to redirect to another page. The request.url gives the current page, whereas I need to redirect to another page. How do I do that.
if(!Request.IsSecureConnection)
{
string redirectUrl = Request.Url.ToString().Replace("http:", "https:");
Response.Redirect(redirectUrl);
}
i want to send sms by using http/https,can nay one tell me hoe can i do this ?
View 1 RepliesI have very much experience of asp.net developement. But i have never dealt with https. In my one project i require 2/3 page with https. So please any one can explain me how i can start with https. Please explain me in detail about about developement cycle, and any other if there is any settings.
View 2 RepliesI have trouble to deploy a mvc site to IIS 6.0. If I deploy it in "simple" http, there is no problems, i can browse my pages, everything's fine...But my site need "https" : so I enable SSL and security certificates, then the site crashes : it display an error 503 : Service temporary unavalaible...Server is a Virtual Machine, if i try to access to IIS in WM (typing "https://localhost/ in a browser), it displays "Connexction was aborted" : Not the same error, but not very different neither...I'm not very familiar with IIS configuration, is there something I missed in config ? Why site is working in http and not in https ?
View 2 RepliesI am trying to consume a webservices which are located at https://TestServices/ServiceList.asmx. When I try to add a service reference to my C# library class project my app.config file looks like below:
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="TestServicesSoap" closeTimeout="00:01:00" openTimeout="00:01:00"
receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false"
bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
[code]...
How i can implement https login in asp.net and C#
View 3 Repliesi'm creating an Asp.Net application and i need to load an UserControl via https. So, in my page i'm loading it with the following code:
...
<%@ Register src="../../pages/controls/bar.ascx" tagname="bar" tagprefix="uc1" %>
<html>
<body>[code]......
Here the UserControl is correctyle loaded via http. So what should i do to load it from the same position but via the https protocol (the certificate is already configured)?
I need to create an ASP.net web page application displays a report based on XML data.
I'm told that I must get my XML data from https://www.example.com/foo.xml. I would like for my ASP.net application to get the data server side, interpret it, and display a report.
I need to know to things:
1) How do I make the .net framework retrieve the XML data from https://www.example.com/foo.xml at run-time.
2) How do I get the data set to an appropriate object type so that my program can read it?
As part of a master page template, several sites include a login control. Since the site is served over HTTP, I want the login control, once a successful login has been achieved, to resolve to a portal served over HTTPS.The closest I've seen to achieve this may be here, but I'm not entirely clear on its implementation.Can I get some feedback or suggestions on this?Of course, a simple "Login" link on all pages that point to a login paged served over HTTPS is another solution, but this is not what I'm looking for.
View 1 RepliesI can plug a http url into the adrotator fine but everytime I plug an https url in it give me a "cannot find advertisement file or file is invalid. I know these https urls are fine - I've checked them out. .
[Code]....
I am using webservice in Jquery code,My webservice works fine when it is working on the http:// . It gives me the 401 (unauthorized) error when it running on the https://
View 1 RepliesHow to achieve this security feature which is shown in url bar (https) ?
View 1 RepliesI have an asp.net web service which has SSL enabled via IIS. It works fine if the user uses https, however I have a user that insists on using http on the url.
What I'd like to do is have the web service (asmx) do the equivalent of the response.redirect to change http to https automatically.
I don't believe that I can do this from a web service so does anyone know a of a similar solution for web services.
if someone in here could write a script similar to the one on https://www.spalding-labs.com/Secure/Order.aspx . . . I have no idea how to or even where to start.
View 1 RepliesThis is in VS 2005. And IIS is 6.0. I am trying to use Self signed certificate for HTTPS. In the code i am redirecting from http to https for few pages. It is nt working fine. and in the IIS manager, for each page that i want HTTPs, i have changed its setting by checking "Require Secure Channel(SSL)" and "Require 128 bit encryption".
public void setSecureProtocol()
{
string redirectUrl = null;
bool bSecure = true;
bool SecureConnection = true;
if (bSecure && SecureConnection)
redirectUrl = Request.Url.ToString().Replace("http:", "https:");
else
if (!bSecure && SecureConnection)
redirectUrl = Request.Url.ToString().Replace("https:", "http:");
if (redirectUrl != null)
Response.Redirect(redirectUrl);
}
Pages throw me an error like this The page must be viewed over a secure channel The page you are trying to access is secured with Secure Sockets
Layer (SSL).
Please try the following:
* Type https:// at the beginning of the address you are attempting to reach and press ENTER.
HTTP Error 403.4 - Forbidden: SSL is required to view this resource. Internet Information Services (IIS)Internet Information Services (IIS) When i try to put https in the start of the URl, it wont call. I have no idea whats wrong in here. Here, Its not redirecting from http to https. For the pages that i am not redirecting in the code behind, and changing in the IIS, i can see the HTTPS when i check the two checkboxes. Internet Information Services (IIS)
Is there a way to know beforehand if a given page will be served in HTTPS. To be clear I don't want to know if thecurrent page is using HTTPS or not.
View 3 Replies