oAuth2 and LDAP Integration – Information Security Stack Exchange

I have a bunch of APIs written based on oauth 2.0. In my system, all user accounts are currently stored in MySQL DB. Now I want to integrate LDAP into this system to check users via LDAP instead of connecting to the MySQL database. So I integrated PHP-LDAP and LDAP into my system. but now my problem is

  1. If the LDAP administrator deletes a user from the LDAP directory, I can not notify my web application that this user has been deleted.
  2. Is there a way to integrate OAuth 2.0 directly into LDAP and to validate the user when a new access token with a refresh token is issued [after the access token expiration]?

If someone has an idea, please clarify me.

Information Architecture – What would be the best way to organize a form development tool with questions that can optionally be grouped by categories and subcategories?

I'm developing a form design tool that some customers can use to fill in some surveys.

The form can be filled with questions associated with different form elements (text, selections, checkboxes, etc.). These can optionally be grouped by categories and subcategories if required.

Consider this possibility:

Question 1 - Enter your name
| - Question 2 - Enter your ID number
| --- Category [Car]
Question 3 - Which year is your car?
| ----- Category [INTERIOR]
Question 4 - What color is the interior?
Question 5 - Do you have steering wheel controls?
| ----- Category [EXTERIOR]
Question 6 - What color is the exterior color?
Question 7 - How big are the tires?

As you can see, questions 1 and 2 are outside the categories. Question 3 is in Category CARand questions 4,5 and 6,7 are each in subcategories INNER and OUTSIDE respectively.

I'm currently using jQuery UI with the draggable and sortable Interactions. So far, it works reasonably well until I came to the part where I need to use categories for these things.

I have a page gutter menu that contains the available form elements, and the main window has an empty area where you can place the elements. The items that are pulled out of the gutter are cloned so they can be reused.

My problem is that I can not find a reasonable way to organize these questions in a logical way that will not upset the admins who will create those forms.

I took the step to create a draggable piece that is called category This serves as a separator in the form, but something is missing in the entire user-centered design space. I also need to figure out how to best add subcategories once a category has been added.

All thoughts or comments are welcome! I am really excited about this. I am usually 70% developer and 30% UI / UX. But I feel like I should run and hide.

spf header information ie pass (mailfrom), identity and recipient =

Is it possible and how would I proceed to set header information for my SPF implementation.

It seems to work. I see the SPF header in e-mails received from different e-mail addresses. However, the information in the three fields, namely the passport (mailfrom), identity = mailfrom and the recipient = does not seem to be perfect.

Where can I set them to appear "better"?

I read the man pages for policyd-spf, and unfortunately http://openspf.org is currently offline, so I can not find out more about the headers – or where the header information came from. Maybe Postfix billing in main.cf? Will go this way now.

Thank you in advance.

Ask for information about which course the profession or career path chooses in game development

I am a Bachelor in CS Demolition, have a Diploma in Game Development from the Asian Institute and have been inactive for 6-9 years. But I'm up to date in the field of learning, programming and self-learning development. I want to move to the US or other countries where I can either study (at a minimal cost) or start a job. Could you suggest to me which way is suitable for my background. If you are looking for a degree, would you suggest that you choose me for a bachelor or diploma degree? Is my background acceptable, is there a program? Appreciate your help and commitment.

theming – How do custom fields with comment and node template information render in drupal8?

I'm trying to show the author the full name and custom field information of other authors in comment.html.twig and node.html.twig. But not all the fields I've created for users, such as First Name, Last Name, and Auther UID, etc., are shown in comments.

I tried to write a comment with the following code

{{}} Comments.author.field-first_name.entity.value
{{}} Comment.author.user_picture.0.entity.uri.value
{{}} Comments.author.uid.entity.value

And I've tried the following code for Node Author:

{{}} Node.author.field-first_name.entity.value
{{}} Node.author.user_picture.0.entity.uri.value
{{}} Node.author.uid.entity.value

Ideas, how can I present this information in a comment template?

video – Mediainfo: How do I get information about the color range?

I use mediainfo to get different aspects of an input video, such as: B. Resolution and frame rate. I use the –inform option with values ‚Äč‚Äčlike

"Video Frame Rate%"

"Video;% Format / Info%"

However, I can not get the information about the color range in the same way. With –info parameters I can see that the option I should use in my opinion is

color_range: Color range for the YUV color space

But mediainfo does not work, but reacts with an echo, as if he did not recognize the setting

Here are some experiments I made:

me @ pc: ~ $ mediainfo --version
Media Info command line
MediaInfoLib - v0.7.82
me @ pc: ~ $ mediainfo video.mp4 --inform = "Video;% Format / Info%"
Highly efficient video coding
me @ pc: ~ $ mediainfo video.mp4 --inform = "Video;% FrameRate%"
me @ pc: ~ $ mediainfo video.mp4 --inform = "Video;% FramRate%"

me @ pc: ~ $ mediainfo video.mp4 --inform = "Video;% color_range%"
% color_range%
me @ pc: ~ $ mediainfo video.mp4 --inform = "Video;% Color_range%"

me @ pc: ~ $ mediainfo video.mp4 --inform = "Video;% somethingweird%"
%something weird%

I'm aware of the fact that this video has the metadata, because the simple mediainfo method gives me the following:

ID: 1
Format: HEVC
Format / Info: Highly efficient video coding
Color range: Full
Color preselections: BT.709
Transmission characteristics: BT.709
Matrix coefficients: BT.709

Right now I'm looking at the very serious way to just use mediainfo and grep to do what I want, but I wonder if maybe I miss the right name in mediainfo?

This is mediainfo 0.7.82 running on Ubuntu 16.

Any tips would be appreciated

File Encryption – How is sensitive customer information stored and shared?

How can we store highly confidential data of customers?
Is it good to subscribe to third party providers or manage files on the company server?

I've already gone through some products like Box, Outlook and Tresorit.

Suggestions would be of great use.
Many Thanks.

Edit 1:

I am aware that product suggestions are not allowed on StackExchange but have been googled enough, but no solution or platform has been found to ask for it.

File information:

  • File Type: Videos & Photos of the source product before publishing file
  • Size: Can Vary Access: No public access, authentication required

How can I see exception information while debugging without declaring the variable "ex"?

When debugging I could always see information about the exception as soon as a catch block was entered, even if my catch looked like this:


However, since the update to Visual Studio 2017, I can only get exception information when I declared a variable like this:

catch (exception ex)

This is very annoying because there are a number of places where the exception is not declared (and usually does not have to). However, I have to look at debugging where the exception is. How can I get the behavior back to always showing the exception, regardless of whether I declared a variable for it or not?