Find Jobs
Hire Freelancers

c# Class to provide license control for my site.

$30-250 USD

Cerrado
Publicado hace casi 8 años

$30-250 USD

Pagado a la entrega
I have a website, parts of which are subscription based. As part of the subscription license, a user is allowed to use the license on different devices (this is an important point in the user can for example update data on their computer at the office, and then have access to the data on their tablet/mobile while on site). I want to stop any possible abuse by a company purchasing a single license and giving the login details to all their employees. I would like a robust C# class written to provide the necessary control to achieve this. I will integrate the class into my site. This is my thinking on how to achieve the requirements, although I am fully open to any other suggestions. An MS sql server table contains the licensing details: name: mceLicences fields: LicenseID int identity, UserID int, NumberOfLicences, int Access to the database should be via LINQ to SQL ([login to view URL], [login to view URL], name DataClassesDataContext auto-generated). class. Single user access and security are already set up. I intend only to maintain the license table for larger clients who want multiple licenses. If a userID does not exist in the table, then it should be assumed he has only one license. My thought is to keep track of everything in session, with a timed expiration, say 5 minutes (although I suppose an SQL table is an option). A cookie gets created on the users device to identify the user and device (a guid for example). The class checks if the cookie exists, if not creates it. If the user and device are in the session, he is allowed to continue (with the session timeout refreshed). If not the number of number of devices the user is currently working on is retrieved. If the number of machines exceeds the number of licenses the user is flagged (set a LicenseExceeded property to false). If not in the session and number of licenses is not exceed the user/machine are added to the session The bidder needs to work out and verify the full logic. Typical class properties should be LicenseesAvailable, LicensesInUse, LicenseExceeded, etc. In the final implementation, I will get the user id server side from [login to view URL]().UserID; For development/testing, will need to simulate. I would also like to log to the database daily (24 hour) summaries. For each user which access the site in a day log: * userID * NumberOfDevicesUsed * MaximumNumberOfConcurrentDevices - for that day * NumberOfLicencesAvailable - on the day of the logging * LogDate The logging will enable me to plot usage per user over time (compared to their available licenses) and discuss with the client if the need to increase (or reduce) their current number of licenses. Initially, I will just log any overuse and deal directly with the user to resolve it. Later I may implement restrictions, where if example the LicenseExceeded property is true, the user is redirected to some page to deal block access. It is important that the above not interfere with the user experience on the site. Bidders should address this. The class should be fully commented/documented (so that I can understand, implement in my site and modify if necessary later) and follow Microsoft best practices. The above describes my intent and my initial thoughts on how to achieve this. If bidders can propose a better solution, I am open to looking at this.
ID del proyecto: 10699973

Información sobre el proyecto

8 propuestas
Proyecto remoto
Activo hace 8 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
8 freelancers están ofertando un promedio de $341 USD por este trabajo
Avatar del usuario
Hi, I am interested. Thanks narendra
$1.000 USD en 30 días
4,8 (3 comentarios)
4,1
4,1
Avatar del usuario
Hello, I hope you doing very well! I have gone through the description and would like to provide a quality solution using my 5+ years of professional experience in required skills. (.NET/ASP.NET - MVC, EF, SQL, C#). Awaiting for your positive response so we can have final talk and start project immediately :)
$126 USD en 3 días
5,0 (7 comentarios)
3,3
3,3
Avatar del usuario
i can do your job.
$388 USD en 30 días
5,0 (1 comentario)
0,9
0,9
Avatar del usuario
I am 5+ year experienced .net developers working as path time freelancers from last 5+ year, developing websites, window application. My main goal is to provide Life & Quality of work to IT within time. I am working on .net framework 2.0/3.0/3.5/4.0, SQL Server 2005/2008, i have developed many website in .NET, in 3-tier and MVC.
$155 USD en 3 días
3,0 (1 comentario)
1,6
1,6
Avatar del usuario
I am experienced in SQL and programming with c# for over 12 years and thus can handle the work easily. contact me if my skills match your requirement.
$500 USD en 8 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED KINGDOM
Wickford, United Kingdom
5,0
3
Forma de pago verificada
Miembro desde feb 1, 2009

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.