I need to provide security confirmation image generator for registering purpose on my website. it should show each time different numbers or letters or combination of them.
I am trying to create a password generator which will do the following:
1) Generate a simpler password, than just completely random as this is what currently the Membership classes do if the above cannot be done then how can we kind of mimic the randomness but use a predefined list of perhaps common words?
2) if we have a Regex expression, is there any way a password can be generated randomly complying with that regex expression? (something extra to think about)
I've searched so much and tried so many differnet solutions, I can't get it to work. I have tried the MailDefinitions in the <CreateUserWizard> tag, and I have also tried to send the email in the code behind for the OnCreatedUser Event.Oddly enough, I have a Contact Us page, and emails send fine from it, but I can't for the life of me get a simple user confirmation email to send.
I know its pretty easy, but i couldn't quite figure out how to remove the Confirmation page from the CreateUserWizard....I tried to remove the following code(i.e., CompleteWizardStep from CreateUserWizard Control) but that didn't work.....
After a user creates their account with the create new user wizard, I would like to have a confirmation email sent that requires them to click on a link in the email to confirm their account and verify their email address before account is activated.
There has to be a simple way to send a confirmation email to new users. Every article that I've read really doesent tell me how to use the sendingmail event. In addition when I had it working, it wouldnt send emails to places like gmail or aol.
asp.net 3.5 - VB language - godaddy hosing, sql server database host membership information
This is the current response I get when is set custom errors mode to Off
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 131.238.75.25:25
I work with an ASP.NET application and the standard Membership ASP.NET database to register user.
Could it be possible to explain or to give examples how to program the system to work with a confirmation mail so that the user need to click on the link to activate his account?I would like to do this to avoid SPAMMERS
I have create user wizard control on my page as below with mail definition setup to send a welcome email to new registerd user.
<asp:CreateUserWizard ID="CreateUserWizard1" runat="server" requiresQuestionAndAnswer= "false" oncreateduser="CreateUserWizard1_CreatedUser" LoginCreatedUser="False"> <MailDefinition BodyFileName="~/EmailTemplates/CreateUserWizard.txt" From="myemailaddress" Subject="New User"> </MailDefinition> <WizardSteps> <asp:CreateUserWizardStep ID="CreateUserWizardStep1" runat="server" > <ContentTemplate> layout content here </ ContentTemplate> </WizardSteps > </asp:CreateUserWizard > Problem is I am not receiving the welcome email. To test it, I placed another create user wizard on another page in its default form as below <asp:CreateUserWizard ID="CreateUserWizard1" runat="server"> <MailDefinition BodyFileName="~/EmailTemplates/CreateUserWizard.txt" From="myemailaddress" Subject="New User"> </MailDefinition> <WizardSteps> <asp:CreateUserWizardStep runat="server" /> <asp:CompleteWizardStep runat="server" /> </WizardSteps> </asp:CreateUserWizard>
This one worked and I got welcome email. The setup in Web Config is correct. Is it because I have the oncreateduser="CreateUserWizard1_CreatedUser" or some other conflict issue.
Im designing a site where registered users can upload their own images that should be displayed to any visitor. However the images have to be approved by an admin. So when the images are aproved they will show in an image gallery.
My problem is how to protevct the images from browsing. I dont want anyone to be able to just write in the folder url and broswe through all the images.
My questions:
1. If i store the images in the app_data folder they will be proteceted from browsing directly. But they cant be used in an webpage that is public either, correct?
2. If i store them in a public folder the images can be used to display on a public page, but even the images that are not aproved will be accesible if one knows the url to the folder or the image itself, correct?
3. It wont help if i secure the image folder with roles cause then the images will only be accesible by the user that is logged in and is in the proper role.
I am looking for some solution of the random user image.I created some image and calling it from database if user has no image.But i dont like it, it is quite ugly.Is it exists some random image generator, like here in stackoverflow the the user has no photo.
I have a web site that is running under HTTPS on my web server, On my master page I have an image and no one can see the image accept for me if I access the web app from one of my two pc's.
What would cause the users not to be able to see the image on my default page? I have the site running under https and using the asp.net membership controls.
In my page I have the image like this <img src="../App_Themes/Images/CompLogo.gif"/> and no one can see it but me.
I would like to use a file upload control and write the uploaded image to the user's asp.net profile property, and then read and display that image somewhere in my application.
anyone have link or code to create image / word verification? i want to use this on my contact form to avoid spamming and better security. i've not found anything useful on net.
I am trying to create a watermark image on the background , i am wondering what option can i use to call image file from my APP_Themes folder insteaed of my hard drive ) Currently i am using this but couldn't figure it out how to call from APP_Them folder of application rather than being specific.
I want to creat security image for login.i find solution this way. i give the imagurl of the image another page that this method calls in that another page load but i want this method in my real page happen. what can i do?
I have set up a simple bit of code to upload an image to the web server. It works offline without a hitch but online I get an error saying denied access.I am not overly surprised to be honest as I have not configured anything on the server (through my web host "Mochahost") to allow unknown users to upload files. I wonder if someone could point me in the right direction.
I have a web project and I saved my images in Physical folders in hdd Like d:SecretImagesImagename. But I can't open the files when I have to? I thought if it can saves for examle d:SecretImagesTemp.jpg, I can open when I have to but, I can't.
My problem is that my site dynamically loads different images and CSS from other URL's. These URL's are also hosted on my dedicated server.
To avoid the popup on the sicure site (ssl) that there are some not sicure elements on the page, I would like to make a direct path to the images (d:inetpubanothersite.comwwwrootimagesmyimage.jpg) instead of <img src = "http://www.anothersite.com"
I have created a .NET 3.5 # web app. It has a master page, a homepage, and an Accounts folder with Login.aspx, Register.aspx etc.When I run the app Login.aspx displays but it doesn't display the Image from the Images folder, it doesn't inherit the MasterPage/CSS and when I click on the Register link it stays to the login page .I understand that this is probably down to permissions. Do I have to put a web.config file in each of the Folders or do I update the main web.config and add location elements to allow access.
I have looked at a .NET4 example and the web.config is in the Accounts folder - however this isn't working on my 3.5 example.Any links to complete ASP.NET 3.5 login, register web app examples would be great?!
I have a page which shows different set of images depending upon whether the user is logged in or not, all the images are stored in the same directory, i want to restrict un-registered users from accessing the images by directly typing the URL in the address bar.for this i cannot change the permission set in webconfig for this directory as it contains images for registered as well as un-registered users,Is there a DOTNET setting which i can change to solve this problem or do i need to change something at IIS level (i am using a shared hosting with GO-DADDY so have limited access to IIS settings.)
I have to invoke SSIS packages from web service in the most secure way. I think that windows authentication will be secure but i am not sure. I do not have much knowledge about how to achieve this and the information on the internet is very distributed.
We use Sharepoint to control our websites. We build the sites, then load them into the sharepoint server. My question is if I use windows authentication, how can I get my role security in my web config file to coencide with the asp.net controls that use the Forms authentication. Is there a differenence? Our security uses a session variable for security but there is no where to set up their permissions except in active directory. I hope this makes sense because I would like to implement the LoginView with Role groups but how can I give them the role="administrator"? Do I have to go into active directory and give them these permissions(would take awhile due to the size of the company)? Or do I have to set up priveladges in the web.config file for each user(difficult I think)?
I'm writing a simple Intranet application using windows authentication. I want to restrict access to Safe/UCantSeeMe.aspx. I am aware of the AuthorizeAttribute, but this only works on methods. I also found a good post on doing this with the MVC pattern, but I'm not using MVC. This can be done with roles in forms based security. I read on MSDN that using windows based security means roles are based on groups, but it doesn't go into any detail. how can I restrict access to Safe/UCantSeeMe.aspx?