Find Jobs
Hire Freelancers

c# Class to provide license control for my site.

$30-250 USD

Закрито
Опублікований almost 8 years ago

$30-250 USD

Оплачується при отриманні
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 проекту: 10699973

Про проект

8 пропозицій(-ї)
Дистанційний проект
Активність 8 yrs ago

Хочете заробити?

Переваги подання заявок на Freelancer

Вкажіть свій бюджет та терміни
Отримайте гроші за свою роботу
Опишіть свою пропозицію
Реєстрація та подання заявок у проекти є безкоштовними
8 фрілансерів(-и) готові виконати цю роботу у середньому за $341 USD
Аватарка користувача
Hi, I am interested. Thanks narendra
$1 000 USD за 30 дні(-в)
4,8 (3 відгуки(-ів))
4,1
4,1
Аватарка користувача
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 за 3 дні(-в)
5,0 (7 відгуки(-ів))
3,3
3,3
Аватарка користувача
i can do your job.
$388 USD за 30 дні(-в)
5,0 (1 відгук)
0,9
0,9
Аватарка користувача
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 за 3 дні(-в)
3,0 (1 відгук)
1,6
1,6
Аватарка користувача
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 за 8 дні(-в)
0,0 (0 відгуки(-ів))
0,0
0,0

Про клієнта

Прапор UNITED KINGDOM
Wickford, United Kingdom
5,0
3
Спосіб оплати верифіковано
На сайті з лют. 1, 2009

Верифікація клієнта

Дякуємо! Ми надіслали на вашу електронну пошту посилання для отримання безкоштовного кредиту.
Під час надсилання електронного листа сталася помилка. Будь ласка, спробуйте ще раз.
Зареєстрованих користувачів Загальна кількість опублікованих робіт
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Завантажуємо для перегляду
Дозвіл на визначення геолокації надано.
Ваш сеанс входу закінчився, і сеанс було закрито. Будь ласка, увійдіть знову.