How To Access Ftp Site After Every 3 Hrs

Jul 2, 2010

i want to create an application which can request a ftp account with uid and passeord.

after every 3 hrs , it should run that Page and download the one text File on local machine and copy that data on to the database .

now i have completed that copy database part . now i m looking for accessing ftp with uid and pwd ( after 3 hrs) how i can do that.

View 19 Replies


Similar Messages:

Access An Internal Site Through An External Site?

Aug 6, 2010

I'm pretty sure the answer to this question is no, but I just wanted to get some feedback before I go down another path.

Here is my scenario. I have two websites. Website 1 is an internal website that cannot be accessed outside of our domain. Website 2 is an external website that can be accessed outside of the domain, but has access to webservices inside of the domain.

My question is, is there any possible way to display the internal page through the external page without making the internal page external.

View 1 Replies

C# - Access To Smartcard From Site?

Jun 9, 2010

i need to comunicate with a smartcard from an ASP.NET site. I've create a dll(using Winscard.dll and MCSCM.dll that is the SCM Micro Reader's dll) that work with the cardreader on windows but i'm not able to use it with ASP.NET. The project will run only on IE and i must avoid Javascript.

View 4 Replies

Web Forms :: Need To Access The Site Map File?

Dec 10, 2010

1. I need to access the Site map File.

2. without webconfig file!

3. For ex: Admin,User

If admin Login all Menu will be visible

If user Login Limited menu Will be vislble.how to do that ,

View 1 Replies

C# - How To Allow Only A Group Of IPs Access The Site From Code Behind

Jan 11, 2011

I have this website where I want just only the computers in our office have access to it. How can I write code to do this? I've been looking all over the web but I couldn't find anything like this. Sorry I couldn't write any code about this before posting this question.I will be using this part of code in the header.aspx file.

View 4 Replies

Security :: How To Allow Users Out Of The Domain To Access Site

Jun 29, 2010

Currently in my application using LDAP to authenticate user to a specific domain & then i check if the user exist in my site database.

Now i need to also allow users who do not belong to this specific LDAP domain to access my site ..How can i make it possible withoput affecting the exisiting users?

View 1 Replies

Security :: Get The Number Of User Which Access To The Site?

Oct 31, 2010

i want to know the number of users wich access to my site and show it

View 4 Replies

C# - Setting Up An Access Controlled Intranet Site?

Jan 26, 2010

An abstract high level idea of where to begin as I am totally clueless at this point.

Background:

I am setting up an intranet site (ASP .NET) where users from our local user group (who are also added in our user table) will have access to web applications they are given access to. Right now I am developing from my PC and using SQL Server 2005 Express as the database, but the final site will be hosted on an application server with IIS 6.0 and the database on an instance of SQL Server 2005. I am a .NET newbie and it's a daunting task, but the experience is worth a million dollars.

Details:

We are using Windows Athentication for our intranet site. Therefore I am not using ASP .NET's membership data sources. Rather all the user information will be stored in two tables tblEmployee (all employees in my company) and tblUser (all users of the intranet site).

tblEmployee has fields - EmployeeID, FirstName, LastName, CostCentre, Role, ManagerName, UserID
tblUser has fields - EmoployeeID, UserID, ApplicationID, AccessLevel, AddedBy, DateAdded

(I have set up these tables and I can change them any time).

What I need to accomplish - When an user goes to the intranet site, I can get his/her domain username. I need to check if this user exists in tblUser (domain username is same as UserID in tblUser). If user exists, we display all the applications he/she has access to, else display a "no access" page.

Specific questions:

What are some of the things I need to "learn"? (as I said before, I am a .NET newbie, but a fast learner too) I need to use URLAuthorizationModule for validating a page request. How do I hide the username from the URL? I was thinking along the lines of using a session ID... but then how do I know who the user is? I am sure these is a way to encrypt the UserID, just can't find it.

View 1 Replies

Site Security/Access Management For Mvc Application

Mar 25, 2010

I am trying to find a good pattern to use for user access validation.

Basically on a webforms application I had a framework which used user roles to define access, ie, users were assigned into roles, and "pages" were granted access to a page. I had a table in the database with all the pages listed in it. Pages could have child pages that got their access inherited from the parent.

When defining access, I assigned the roles access to the pages. Users in the role then had access to the pages. It is fairly simple to manage as well. The way I implemented this was on a base class that every page inherited. On pageload/init I would check the page url and validate access and act appropriately.

However I am now working on a MVC application and need to implement something similar, however I can't find a good way to make my previous solution work. Purely because I don't have static pages as url paths. Also I am not sure how best to approach this as I now have controllers rather then aspx pages.

I have looked at the MVCSitemapprovider, but that does not work off a database, it needs a sitemap file. I need control of changing user persmissions on the fly.

View 2 Replies

Security :: Site Needs To Access File Across A Workgroup?

Oct 21, 2010

I have an ASP.net 2.0 website that sits on a Windows XP SP3 box on IIS 5.1. The website needs to go across a UNC path to another server to grab an image file. Both boxes are in the same workgroup but no domain is setup. I have created the same user on both boxes with the same password and the website is using anonymous access using that account. The account is an admin on both boxes(i know security risk but this is for testing). File.Exists() just keeps returning false but the file is there. I suspect it has something to do with the ASPNET account but i'm at a loss. I've tried aspnet impersonation using that account as well with no luck.

View 4 Replies

Security :: Restrict Access To Site From Outside Office?

Nov 9, 2010

I am faced with a rather tricky issue. I am developing a web application that resides beneath a web site. The web application is actually meant for the employees of the company owning the web site. The employees can access the web app from the login facility on the site.

The situation demands that an employee must be able to login to the app only from the office machines and not from anywhere outside. I thought of a logic where in the IP address of the machine in which the employee sits will be stored against the employee profile and when he logs in, the authentication will check for user credentials as well as whether he is logging from the designated IP. If not he is not allowed access to the app even if the login credentials where correct.

I am not sure if this is a good way, because I feel tricky persons can give the same IP of the office machine in another machine, say at home and the logic is broken. Can somebody provide me a better way of solving the issue. I am using ASP.Net login control for user login.

View 3 Replies

Configuration :: Access Locally Deployed Site Through Domain?

Jul 26, 2010

I have asp.net website deployed on local server

And also i have a domain name

What i want that i want to integrate my locally deployed site with domain name.

(I have live(public) IP address as well)

View 1 Replies

How To Implement Security For MVC Site To Deny Access To A Particular Group

Dec 8, 2010

I have an internal corporate ASP.NET MVC website.

Requirement(1): When any person is on the network, they can access this site EXCEPT one AD Group (Example: AD_Sales group).

Requirement(2): Also like for example if a person that has the access passes a url (Ex: http://mysite/Home/Index/Product/Letter) to a sales group person, he still should NOT access and need to display a custom message saying "You are not authorised to view this page".

If the scenario is like to issue the access to one AD Group and deny access for all others, it is fairly is. It can done from IIS. I am Wondering how to do this.

View 2 Replies

Access :: Can Create Data Source From A Sharepoint Site

Jul 6, 2010

So I've created an asp.net web application on the same server the sharepoint site is located on. If I create an Access view of a list on the sharepoint site, which will then create an Access Database, can I then use that Access database in an access data source in my web application?

If not, what's the best method of attack to access sharepoint list data from thisasp.net app?

View 4 Replies

C# - Blank Site Shows Web.config Error When I Try To Access It?

Mar 15, 2011

i have created a blank asp.net website consisting of a blank default.aspx page, its .cs file, a login.aspx page and its .cs and a web.config. im looking to test .net authentication as seen in here: http://msdn.microsoft.com/en-us/library/xdt4thhy.aspx on the msdn site. ive copied everything as shown in the atricle. i set up the site in iis6 now when i go to the site i get the runtime error with the

"To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off"." message. when i add the customErrors mode="On" tag to the web.config i still get this error like its not looking at the web.config. ive triple checked iis and its definitely looking at the right site folder. heres my web.config:

<?xml version="1.0"?>
<configuration>
<system.web>

[code]...

View 2 Replies

Access The Browser Hisory To Get The Previous Page Or Site?

Jan 24, 2011

Is there a method for detecting browser history in C# or do you have to use javascript?I am basically storing IPAddresses, BrowserTypes, Dates, and Where the User Came From Just Before Visiting My Site.I have programmed the rest, but I need to access the browser hisory to get the previous page or site. This will help a little with advertising efficiency.

View 3 Replies

Restrict Access To Web Site Based On Referrer, Cookies Or Something Else?

Feb 22, 2010

We have a scenario whereby we are hosting an ASP.NET MVC web site on behalf of someone else.The customer in this case wants us to restrict access to the web site, to those users who have logged in to their main portal. They should then only be able to get to our web site via a link from that portal.At this point I'm not yet sure what technology or authentication mechanism the 3rd party are using but just wanted to clarify what the possible options might be.If we call our hosted site B, and their portal web site A,as I see it we could:Check the referrer for all requests to B, unless they've come from A they can't get inCheck for a specific cookie (assuming A uses cookies)

View 2 Replies

WebMatrix :: And Databases To Access The Site Uredi_let_padalce.cshtml

Jan 18, 2011

I'm learning to use webmatrix via the tutorials on the website. I've had success with all table operations, when only using one table. I'm using the following address to access the site uredi_let_padalce.cshtml?LetId=4 and the is code:

[Code]....

The page works if I write: where LetId=4 instead of @0. But if I leave the variable I get the following error: The column name cannot be resolved to a table. Specify the table to which the column belongs. [ Name of ambiguous column = LetId ] If I specify the table name LetId_PadalecId. LetId=@0, then I get the parameter missing error. How could I tell the server which LetId I want?

View 2 Replies

Social Networking :: Facebook - Register Site And Get API Key To Access Graph

Apr 29, 2012

I am developing an ASP.Net site where I need to access Facebook site. I want to know how can we register and get API key...

View 1 Replies

Security :: Some Users Are Unable To Access My Internet Site With Windows Authentication?

Oct 15, 2010

I have an intranet site that i set up to windows authentication. It works fine most of the time but some departments wont be able to access the site and will be asked to enter user name and password.I checked their Active Directory account and the only difference i could see was that the organizational unit parameter was different than the rest of the users.

View 5 Replies

Access Database Info In A Partial View, .ascx That Is Included In Site?

Apr 2, 2011

i'm having problems with this. I am developing an asp.net mvc 2 application. I have a partial view menu.ascx defined. this gets included on all the pages of my site in the Site.Master masterpage. Now the thing is I want my menu to change according to the type of user.Here's what I did at first:

<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>
<li><%: Html.ActionLink("Home", "Index", "Home")%></li>
<% [code]....

I shouldn't be doing this in the view ! But since this is the MasterPage no controller actually calls it so I don't know where to put the info in the ViewData dictionnary or ViewModel to pass it to this masterpage.

View 1 Replies

Security :: Why Access Files Inside A Forms Authenticated Part Of Site

Aug 18, 2010

Why can I still access files inside a forms authenticated part of my site? Any webpages say that you need to login to view them, but people can still access images by typing in the address bar. I am using forms authentication with my own database, so none of the aspnetdb services like membership roles etc. Is this a bad way to do things because I'm pretty deep into it now and it would be very difficult to change.

View 16 Replies

State Management :: Session Values Are Not Getting Stored If More Users Access The Site

Apr 2, 2010

l am facing a problem with session.

If many users access the site, the session gets crashed and data which i store to access across pages is getting lost.

a best way to store data (as session does) so that i can use the data across my web application.

View 5 Replies

Unable To Access SQL Reporting Services On Shared Site With Themes Enabled

Jun 1, 2010

I am having some trouble with my IIS web server & SQL reporting services.

At the current time my site is playing host to both reporting services (/reports & /reportserver) as well as my personal website (domain.com)

Only just recently have I implemented a Theme on my site and as such I have placed a statement in my web.config file directing it to apply a certain theme in the following manner:

<pages styleSheetTheme="General">

Because of this when I try to access the report pages it fails, telling me it couldn't find the Theme. So, what I did was locate the source files for the /reports & /reportserver directories and placed the App_Theme folder in them hoping that would sort everything out.

What I am getting now is the following error:

*Using themed css files requires a header control on the page. e.g. head runat="server" *

Does anyone know how I can get around this? Do I have to hack the SQL reporting aspx pages? I do NOT want to remove the web.config declaration.

View 2 Replies

Proper Setup For IIS7.5 Machine Account For Anonymous Web Site Access

Jan 22, 2010

Using IIS 7.5, IIS_IUSRS is supposed to be the account to use. I get '401 - Unauthorized: Access is denied due to invalid credentials' error. If I add an EVERYONE account with Read, it works. But rather not have Everyone account. Any idea why IIS_IUSRS does not work? It has Read access. Anonymous Access=enabled. Specific User=IUSR As a side, on the Basic Settings... for the site, Test Settings button says 'ok-on Authenticate' but Authorization 'cannot verify access to path'.

View 1 Replies







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