Authorize Application Via Network?

Jun 2, 2009

How difficult would it be to have my application check for user authorization over a network?

If I have a php server, each time someone starts my application it should connect to the server and check the users computer name against a list of authorized computers, possibly using MySQL.

View 13 Replies


ADVERTISEMENT

Authorize.Net Partial Authorization ?

Jun 13, 2011

I am making changes to my companies internal paysite in order to come into compliance with the new credit card regulations. We have decided that when we get a split tender transaction that comes through we want to get the remaining balance along with how much was on the card to start out with and send that info back to the customer service rep with a message relaying the need for another payment source along with the remaining balance and the amount that was originally on the card.

Instead of chaining the transactions together with the split tender Id we have decided we would like to finalize each split tender transaction with a prior_auth_capture and then request the next payment source and amount and process that transaction in the same manner. I know that we are side stepping the functionality some but those are my orders.

My questions are, is this feasible and possible and how do you do this in code? I am using the C# SDK to implement this in VB.NET 2008

My thoughts are that I would have to process the transaction for the amount passed as a auth_capture transaction and then some how do the prior_auth_transaction with a zero amount or something?

View 1 Replies

VS 2008 Network App - Send Message Or Network Package To Some Of The Clients In The Network

Aug 18, 2009

Here is my idea so far: I have a bunch of computers connected in a local network. One of them is a MySQL server, one will have a vb.NET program wich will act as a "second server" and the rest will be different clients. What I want to do is that the "second server" will send out some kind of message or network package to some of the clients in the network, and they will execute a code based on what message it is, or what kind of package it is. I'll give you a simple example:

[Code]...

View 6 Replies

Asp.net Mvc - Testing User Role Authorize Attribute In .NET?

Jan 23, 2010

I am using ASP.NET MVC to build a site. I am using VB as programming language.I have couple of questions.

1 I have created a role "Manager". How Do I check if a user belongs to this particular role?

For now I am using If My.User.IsInRole("Manager") Then 'Direct to a view Else 'Direct to another view End If Is this the right way? 2 How to use the Authorize attribute to limit access to a Function?

I know in C# it goes [Authorize (Roles ="Manager")] but not sure in VB. Also can I define property to redirect a user who does not have "Manager" role to a particular view when trying to access this function .

View 1 Replies

Gaining Authorize Startup Shortcut For All User?

Nov 4, 2010

When my program wanted to add a startup shortcut for All User in Win 7 (or Vista), it got an "Unauthorized Access Exception", even i login as admin.

How do get authorize access for All User in my program?

Here is the code:

Imports IWshRuntimeLibrary
Public Class Form1
Dim AppName As String = "StartUp ShortCut"

[Code].....

View 2 Replies

MVC Authorize Attribute Deny Access / Permission

Oct 25, 2010

I'm using the Authorize() attribute to secure my controllers/actions and want to only display the Login action to unauthenticated users - or to put it another way, deny access to authenticated users. I haven't been able to find anything on the web dealing with either denying permission or allowing negative permissions (i.e., ! LoggedIn)

MVC2, .Net 4
To clarify, I want something like this:
Public Class PublicController
Inherits ControllerBase
<Authorize()> 'Only logged-in users can logout
Public Function Logout() as ActionResult
[Code] .....

View 2 Replies

Connect To An Online Database To Authorize A User Login?

Oct 25, 2009

Does anyone know where i can find out how to connect to an online database to authorize a user login? On my form i have TextBox1 and TextBox2

View 2 Replies

Transactions Approved By Authorize.Net With Incorrect Expiration Date And CVS Number

May 17, 2011

I have currently processed a credit card using Authorize.net with Card Present settings. The great thing is that the card is being transacted but when i use the same card with different expiry date or a different cvs number the card is still being transacted. This shouldnt happen. Here is the code that im using in VB.NET.[code]

View 1 Replies

Authorize.net SIM Process With Master Pages Returns Error 13 Invalid User

Oct 13, 2010

I am trying to use Authorize.net's SIM payment gateway process and am using the base code provided on the developer site. The problem is I am using Master Pages with my site and the hidden field names are getting concatenated with the nested control IDs as an example:

[Code]....

View 1 Replies

Application Path Over Network

Jul 28, 2011

I have an application in vb.net that runs over a network. Actually shortcut of the exe file is shared over LAN, so databases remain on one computer where the application has been installed. Everything works great except one thing. The logo of this application is saved in a database, that reports can pick to load picture. The logo file is chosen by the user, using OpenFileDialog and then saved in database. It is saved like D: Picturesfilename. jpg When I run the application from network (using shortcut that we have made to the main exe file), it given error on D:Picturesfilename.jpg because this doe not exits in the system that is running the shortcut. How to save the logo path in a way that it always finds it in application directory, when run over the network.

View 2 Replies

Develop A Network Application?

Dec 30, 2009

I want to develop an accounting software for a mini Super-Store, this program will be able to run on a network with a central database; in other words a network application. I have not used sql sever before neither have I written any application that will run on a network.

View 7 Replies

Run Windows Application In Network?

Aug 31, 2010

i am using postgres as Database, for my application. i will deploy my database in server machine. how can i access that database through my application in client machine

View 1 Replies

Client-side Vs Network Application In VB?

May 27, 2009

I have a client-side app which I am working on. As I start to enhance the app, I am starting to wonder whether or not I should be building a network side app instead. My app in its current form sits on the client side and generates some text and XML files which are stored locally on the client side. The user reads/write to these files. However, I want to start working with SQL AND the processing time of my app is starting to consume resources (i.e. time and CPU) on the client side.

Can someone provide me with some highl level feedback on what one would do to make their client-side app a network app that multiple users would have access to. I realize more detail would need to be provided in order to provide thorough answer. However at this point, I really just want to understand how a network app would differ from a client app from a programminga and deployment perspective.This is not necessarily a VB question. Howevever since I am working in VB I though I would start in this forum. Feel free to move to the appropriate forum if need be.

View 7 Replies

Log Into Application With Windows Network Authentication?

Jul 22, 2011

Our company runs Windows Server 2008 R2 and as part of the normal login procedure you type your username and password. IT sets the domain when you get your PC so that is all good. So, when you open IE, the intranet sight detects that you are person XXX YYY and then logs you into the site automatically as the right person.

Now is there any way that I can do the same with an application written in C# or VB.NET. I.e., I would like the user to not have to log in as they have already done so during Windows log in, and then use the application as the individual user. This is for loggin purposes and specific rights for each group.

View 1 Replies

VS 2008 Application On Shared Network

Jul 28, 2009

I have a VB2008 application that runs off a server. Users connect to the application via shortcut.

[code...]

For what it's worth, the application is targeting .NET 2.0 Framework on both the development side and package install side.

The illustration below is more for my sake than yours, but should help me explain the problem.


User A and B work just fine, but when User C and User D attempt to use the program via shortcut9(same as User A and B) the error below is displayed.

[code...]

what I can do to allow User C and D to use the application?

View 11 Replies

VS 2008 Fulltrust For Network Application?

Feb 8, 2011

On the earlier version of VB.net 2003, I could run a wizard to give full trust to a .Net application on the network. With VB.net 2008, there is no longer a wizard to do this. I did some Googling and most of the references I find refer to using Caspol for .Net 2.0. That doesn't seem to be an option .net 3.5 (I can't find Caspol in the framework folder). Does anyone know how to do this for VB.net 2008?

View 2 Replies

Automatically Updating Application From Network Share

Feb 15, 2012

Any simple way of automatically updating a newer version of my application from a network share. Everything I have read pertains to an update from a web site. This is possibly a simple thing to do but as I have 6-8 users using the application I have to email them all stating there is a new version on the share and for them to copy and overwrite the existing application executable in the program filesapp directory. If this could be done on launching the program within the splash screen that would be fantastic.

View 3 Replies

Make A Chat Application That Can Go Out The Local Network?

May 16, 2012

I have been trying to make a chat application that can go out the local network for quite some time, but all I seem to find is chat applications for in local networks?

View 7 Replies

Real-time Application Communication Over A Network?

May 2, 2011

I am starting a new project in VB, a card game modelled to be similar to a real card game.

I have the majority of the program planned out and have even started coding parts of it; my problem comes with the networking.This is a real-time card game (not turn-based) and I want to be able to play with real people (family mostly, so over LAN is what I'm after).

I have tried searching for code samples but I everything I have found seems more complicated than I feel is required for the task, introducing a lot of new concepts and not explaining them.

What I'm after is a simple way to exchange the information in real-time, I don't care so much for efficiency (at the moment) just ease of use - though if I need to wade through a heap of documentation I will. A perfect answer would tell me what the names of some of the controls/methods that would be appropriate are, even if it just re-affirms a bit of the complexity, you do not have to detail anything if you don't want to I just feel a bit at loss as to what exactly it is I am looking for!

View 3 Replies

VS 2005 Net Application And SQL Express Network Deploy

Aug 17, 2009

I have my vbnet application with sql server express designed for individual desktop pc. Now I want to have it work on a network.

1_ how can I make my customer to install sql express and the Database on the server and enable the network protocols seamlessly? dont want to have my customer configuring sql expess manually. 2_ how can I have my client software to look for the sql express and connect to it in a seamless way??

Can I avoid the customer to enter configuration data?

View 7 Replies

VS 2008 Developed An Application That Can Monitor Network According Their Sub-net

Dec 13, 2009

I'm new in VB, and plan to developed an application that can monitor the network according their subnet and display the network utilisation. Can anybody guide me what is the needed to develope this application on VB..

View 2 Replies

Windows Application + Accessing From Outside The Local Network?

Jul 12, 2011

I have developed a windows application for my company. It is a multi user software and we are using sql 2008 as the database. The sql 2008 is installed in our company server. Within our LAN, there is no problem in accessing the software and its working pretty fine.

Now the problem is, some of the managers need to go out frequently(for business tour and all) and they need access to this software. The software is already installed in their laptops.Is there any way to access the database that is in our company server ???

We have few static IPs with us, is there any way i can use that here (Using NAT in the firewall or something)?

View 3 Replies

Application Event To Check Network Drive Availability

Nov 29, 2011

I want to execute some code when a network drive is available. Just like our application even have NetworkAvailabilityChanged. I want this to work just like our Application Events.

Private Sub MyApplication_NetworkAvailabilityChanged(ByVal sender As Object, ByVal e As Microsoft.VisualBasic.Devices.NetworkAvailableEventArgs) Handles Me.NetworkAvailabilityChanged
End Sub
Private Sub MyApplication_Shutdown(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Shutdown
[Code] .....

View 3 Replies

Application To Test Network Speed (Transfer Rate)

Feb 11, 2009

Lately our network is having some speed issues at certain times of day, so what I'd like to do is make a little app that will test the network speed at certain intervals, like once an hour between certain servers etc and then write the results to a text file. Is VB 2008 cable of doing something like this? I thought of maybe copying a 500mb file from 1 place to another and somehow record the average transfer rate of that file, but I am not exactly sure about how to record the transfer speed.

View 4 Replies

Client/Server Chat Application ..Works Only On Same Network?

Mar 14, 2010

I have a client/server chat application which I made . My question is how do I make the application work not only Locally but On any other network. I tried putting my IP in the part of creation of the client socket .

View 2 Replies

Connecting An Application Program To SQL Server From Another Network Segment?

Jun 8, 2011

I want my vb.net application to access the sql database from another network segment.I have two network segment, the application program that I made is in 192.168.7.xx segment and the SQL Server 2005 Enterprise Edition is in 192.168.1.xx segment but that application program cannot access the sql server unless I make them in the same segment.

View 1 Replies

Distributing Database Application But Could Not Connect To Sql Server From Other PC On Same Network

Jul 14, 2010

I am using Microsoft visual basic 2010 and SQL server 2008.I develop a small database application and it run well on my pc.I built and distributed the application to other pc on the same network, but when I run the application from other pc I got error message like this:A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections.(provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)[code]

View 2 Replies

Search Network Code Sample To Produce VB Application?

Jun 7, 2012

I would like to ask something about Network in VB.NetI try to search network code sample to produce VB.Net application (Like Server and client)But I found a lot of codes (Server and client) and the codes are very complicated for me because codes are mixed with chatting process So I would like to know or want some sample Network VB.Net application(code) the application has two forms

form1(server) and form2(client)

form2(client) has (one button or textbox)

form1(server) can make visible or invisible (button or textbox) of the form2 (Like that code, I can able to make or learn other processes) I want to know how to code it. If I can get the code, I can learn more smoothly with various way

View 2 Replies

VS 2008 Changing The Datasource So That Application Will Run On A Machine With No Network?

Oct 14, 2009

I have created an application which uses an sql server connection as its datasource. The problem I'm having is that the application needs to work on computer that has no network connection. How Can i change the datasource so that on runtime it can work off a machine that is not connected to a network? The datasource from the sql connection only contains one table with no data. It only needs to be updated with a target folder that can be changed to any location on any computer already written in the code.

The connection string suddenly stands as: Dim MyConnectionString As String = "Data Source=MY-PC;Initial Catalog=ImageLocs;User Id=test;Password=test;Pooling=False"

View 5 Replies

Finished A Console Application And Deployed It To Several Computers On Our Network For Testing

Dec 17, 2011

I have recently finished a console application and deployed it to several computers on our network for testing. As it is just an EXE a copied to the hard drives of selected computers for now. When the app is launched it writes info to an sql DB so I always know which computers it is on.

During the past few weeks I have modified this app at least 6 times (improvements, adjustments, etc)

It is a paint to keep going back to the computers to update it with the new version, and getting mixed up which version i am on - LOL I am looking for advice on how I would go about doing this automatically, for example, it would be cool if I just had to put an updated file in a repositry and clients would use this to update.

In Visual Studio, when I view the properties of my application>assembly information - I can set a file version. Is it possible to extract this info and store it in a variable? I would like to dump the in my DB. Also I could then possibly compare the file version of the launched app against an updated file in a network share folder.

View 16 Replies







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