Security in Transversal Layer in Domain Driven Design [closed] - security

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 8 years ago.
Improve this question
I'm building a solution based on Domain Driven Design, I'm trying to implement the security system (autentication, authorization, roles, system configuration, connection strings, etc..) in a trasversal layer.
The tiers of my application are two projects (ContractsTransversal and Transversal), where the ContractsTransversal project only exposes the services of transversal layer using interfaces (ICaching, ILogging, ISecurity,etc..) but the implementation of those interfaces are in the Transversal project.
The design is based on the book "Guia de arquitectura de Ncapas orienta al dominio" by microsoft, that suggests the implementation of transversal layer across IoC (Dependency Injection) and its relation with all parts of the system are decoupled. I'm doing this, I created my container to implement IoC. I have other projects which have only my business entities like UsersEntity, ProductEntity, etc..
My question is: "Is it correct to have a references of my business entities project to my Transaversal and ContractsTransversal project?"
because in security project I need to know information about the user, roles, permissions, etc..
or what's the best practice to implement security in a domain driven design model?
thanks in advance!

Related

What things should I consider to split my Monolithic nodeJs app to Microservice architecture? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I'm trying to build Restful API's using NodeJs for a e-commerce application with a minimal functionality like User Accounts, Products, Inventory System, Cart/ Orders, Payments, Wallet/Credit, Delivery Management, Notifications etc.
I wanted to implement this using a microservice architecture.
I do not want to use a any framework, I want to explore and learn myself.
How should I start?
1) On what parameters should I choose a microservice architecture.
2) How should I use the common "terms" like user model, or (products, inventory and orders).
3) Should I build full monolithic App first and then take out the heavy parts out of it, one by one?
A basic guideline that can put me in direction will be very helpful. I'll really appreciate and thank for helping on this subject.
Few considerations before giving you my two cents...
There is no such thing as microservices in Node.js. Microservices is an architectural style based (among the others) on the principle that you should use the right language for the job. So Node.js is one possible choices among many.
Your question is too broad, alright, maybe you should change it in order to narrow down its scope;
I don't think there is a universal or right answer to this question so I can tell you where I would start if I were you.
Please consider these resources to start:
Microservice definition from the bunch of guys that made it up;
microservices architecture is a book introducing microservices. It has an interesting example explaining how to create a shipping company microservices architecture (similar to what you're asking for)
DevOps 2.0 explains how to build and deploy microservices and related pipeline.

Architecture and Infrastructure in web technology? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 10 months ago.
Improve this question
When it comes to these principles like architecture and Infrastructure how would you describe them? The actual meaning and in development where its used. So for example is it like infrastructure is the actual website and architecture is the plans or so called blue prints (UML) in the background?
Infrastructure is a word used for the underlying components that support the operation of something. In your example, you said a "web site" - so things like load balancers, web servers, database servers, and the operating systems that run those servers would be included in the infrastructure. This can go more granular, to include the details of the data centers that the servers operate in. [power generators, cooling, etc.]
You are correct in that architecture is use to speak of the "blue prints", or the design of something. UML, which you mentioned, is one way to express and visualize a design. It tries to answer questions like: What are the components? What are the relationships between the components? What do they do, and not do?

What are web development services? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
Me and my Lab partner are supposed to develop an online shopping website for an imaginary client.
We are also supposed to provide a summary of web development services we are providing to our client.
The question is, what are web development services? Please leave us a simple explanation. Thanks!
Usually most of the web development companies provides different kind of services to their Clients that cater B2B and B2C Customers through Solutions
Some of the example services include
E-Commerce Applications
Educational Applications
Discussion Forums
Single Page Web Applications
Social Networking Sites
Content Management Systems etc.
Above are just some of the many services provided by a web development companies. You can also showcase your skill set and other features saying that
why should a client opt for you.
Try to visit different Web Development companies sites and read the services they provide for better understanding of the kinds of services that are available.

What's the name of this kind of system? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
i'm about to start a project for sharing files, announcements, and other stuff between branches of a company, it must be a web based system, with all the layers as profile management, employee communication, etc... What i don't know is what's the name of this kind of systems? It's a web based system wich will only allow access to the company's personnel(still don't know how to do that - help please), and must connect the different branches.
I think you're making an Intranet Software or kind of that.
Look here:
http://en.wikipedia.org/wiki/Enterprise_social_software
Software examples
Specific social software tools which programmers have adapted for enterprise use include:
wikis
social bookmarking
social search
Web Content Management System
instant messaging
file sharing
So, you are doing a profile management, file sharing...it looks like an intranet.
Example of intranet: http://www.intranetdashboard.com/
A textbook name I've met for these type of systems is "Knowledge Management Information Systems".

Charactersitics/features of communication (M2M)protocols for comparision [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
What should be the characteristics/features of M2M protocols (MQTT/OPC UA/XMPP) for which the protocols can be compared? I would like to write an article about these protocols and would like to compare them on the basis of these characteristics. You can suggest some characteristics for M2M protocols comparison. such as: Security, Data bandwidth,scalability, over-head in data packets etc. Thanks
A comparison of the M2M protocols based on characteristics, like any other comparisons, should be made in a certain context. In this case, the context refers to the domain or the application domain you are using for building the comparison.
An application for a certain domain usually has a set of requirements that need to be met. Building a list of common requirements is a sensible thing to do. Not only it will improve the structure of the article, but it will also offer the possibility to expand/improve the article as new requirements are being discovered. By analysing these requirements you can find some fine-grained criteria that you can choose to discuss.
Functional requirements
Interoperability
Interface for:
device - gateway,
device - network application server,
device - device
Protocol load: information volume, connectionless/connection- oriented
Routing capability
IP based/non IP based
Communication patterns
Resource discovery
Resource management
Stateful/Stateless
Non-functional requirements
Scalability
Security
Privacy
Lightweight
Real-time
Expandability
Usability
Openness
Reliability

Resources