My search for the topic Laravel 5.5 -- Separate table for authenticated users and guest users has resulted in separate URL for authenticated and guest users. However, I have a table of which, few fields are for all users and remaining are for only authenticated users. Should I split the table?
I want to split the table because the function below returns all the columns. In the view, I only choose the specific fields to be displayed. If someone makes a GET request without a browser, won't it return all columns irrespective of user type.
public function show(Balancesheet $Balancesheet) {
return view('Balancesheets.show', compact('Balancesheet'));
}